Q.
A mass M is suspended from a light spring. An additional mass m added, displaces the spring further by a distance X . Now, the combined mass will oscillate on the spring with time period
As an additional mass m is added, the spring is further stretched by a distance X , therefore kX=mg ⇒k=Xmg
The time period of the spring-mass system when both the masses (m+M) are suspended from the spring, T=2πk(M+m) ⇒T=2πmg(m+M)X