The formula for time period of mass spring system is.