Weight of the cork = Weight of the liquid displaced by the floating cork
Let the cork be depressed slightly by x. As a result, some extra water of a certain volume is displaced. Hence, an extra up-thrust acts upward and provides the restoring force to the cork.
Up-thrust = Restoring force, F = Weight of the extra water displaced
F = –(Volume × Density × g)
Volume = Area × Distance through which the cork is depressed
Volume = Ax
F = – A x ρt g … (i)
According to the force law: