A broad vessel, with a square base of edge a = 10 cm is separated into two halves A and B, by a smooth vertical piston. A spring of spring constant k = 1500 N/m is filled across the compartment A and the compartment B is filled with water to a height 20 cm. Find the compression in the spring.
The force exerted on the spring, via the piston by water = (pressure at centroid of the piston) x (area of the piston)
=
F = = 2
Now, if x cm be the compression of the spring
Then for equilibrium F = Kx.