A uniform cylinder of length L and mass M having cross sectional area A is suspended, with its length vertical, form 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 downward push and released, it starts oscillating vertically with a small amplitude. The time period of the oscillations of the cylinder will be: