I am currently in high school and I came across a physics problem that asked to find whether the height of the mercury in a mercury barometer would change when it is kept in an elevator that accelerating upwards with a magnitude of 'a'.
Here is how I approached the problem(demonstrated in the image file attached):
1)In the frame of the elevator, the acceleration due to gravity would be (g+a) downwards
2)I assumed the Mass of the air column above the liquid mercury exposed to the atmosphere to be 'M'
3)I assumed the area of the mercury in the container exposed to the atmosphere to be 'A'.
4)I assumed that a vacuum exists in the space between the tube and the mercury.
- I assumed the density of mercury to be 'rho'
After you read my attempt at solving the problem, you see that at the end I get an equation for 'h' is not a function of either g or a. So that must imply that the height of the mercury inside the elevator accelerating upwards must be the same as in the case where the elevator was not accelerating.
But after checking various solutions on the internet, which propose that the height of the mercury changes, I am confused and not able to determine what I assumed wrong or where I made a mistake.
I would appreciate if someone could clarify my conceptual doubt.
(P.S I do not know how to write mathematical equations in PhysicsStackExchange so please excuse any distastefulness in my handwriting or illustration skills)