An inverted tube barometer is kept in a lift moving vertical upward with an acceleration 'a'. The density of mercury is ρ and acceleration due to gravity is g. If the atmospheric pressure is Po then:
When you accelerate barometer upward the pressure inside the liquid increases but this increment is transmitted all over the liquid according to the pascal's law, so change in pressure between two points in liquid is constant.
When the elevator is going upwards with acceleration a, then the net acceleration will be the sum of (a and g) i.e., a+g
Po = ρ(g+a)h
⇒ h = Poρ(g+a)