Find the time period of mass M when displaced from its equilibrium position and then released for the system as shown in figure is: