A parallel plate capacitor is located horizontally so that one of its plates is submerged into the liquid while the other is over its surface. The permittivity of the liquid is equal to $\epsilon$, its density is equal to $\rho$. To what height will the level of the liquid in the capacitor rise after its plates get a charge of surface charge density $\sigma$?

This is a type of controversial problem, as it contains a different answer by the different author, two different answers provided for this are

$$1) \ h=\dfrac{(\epsilon-1)\sigma^2}{2\epsilon_o\epsilon\rho g}$$ $$2) \ h=\dfrac{(\epsilon^2-1)\sigma^2}{2\epsilon_o\epsilon^2\rho g}$$

Solution for 1 and solution for 2

Please help!