A container filled with a liquid of density of ρ is accelerated upwards with α . The difference in pressure between the two points A and B separated by a vertical distance h is :
As the container is going upwards, the effective value of g′=g+α.
So the pressure between the two points will be given as,
PB−PA=(ho+h)ρ(g+α)−hoρ(g+α)
=hρ(g+α)