A uniform cylinder of length L and mass M having cross-sectional area A is suspended, with its length vertical, from a fixed point by a massless spring, such that it is half-submerged in a liquid of density ρ at equilibrium position. When the cylinder is given a small downward push and released it starts oscillating vertically with a small amplitude. If the force constant of the spring is k, the frequency of oscillation of the cylinder is :
12π(k+AρgM)12
When cylinder is displaced by an amount x from its mean position, spring force and upthrust both will increase. Hence,
Net restoring force = extra spring force + extra upthrust
Or F=−(kx+Axρg) or a=−(k+ρAgM)x
Now, f=12π√∣∣∣ax∣∣∣=12π√k+ρAgM