Solve the below:
Q: Liquid water with density is filled on top of a thin piston in a cylinder with cross-sectional area A and total height H. Air is let in under the piston so it pushes up, spilling the water over the edge. Deduce the formula for the air pressure as a function of the piston elevation from the bottom.