Concept:When a floating object is displaced vertically, the extra buoyant force acts as a restoring force leading to simple harmonic motion.Explanation:Let the submerged height in equilibrium be h.Then Mg=(Ah)ρg.When depressed by x, extra displaced volume is Ax.Extra buoyant force (restoring) is F=−(Ax)ρg.Using F=Ma, we get Ma=−ρAgx.Thus acceleration a=−(MρAg)x.For SHM, a=−ω2x.Comparing, ω2=MρAg, so ω=MρAg.Time period T=ω2π=2πρAgM.