The piston is taken completely out of the cylinder. The hole at the top is sealed. A water tank is brought below the cylinder and put in a position, so that the water surface in the tank is at the same level as the top of the cylinder as shown in the figure. The density of the water is ρ.
In equilibrium, then height H of the water column in the cylinder satisfies