The system of two weights 1 & 2 with masses M1 and M2 are connected with weightless spring as shown. The system is resting on the support 'S'. Find the acceleration of each of the weights just after the support 'S' is quickly removed.
Force of spring does not change instantaneously so find spring force at initial instant
Initial instant
Initially M1g = kx
When support is removed spring force does not change
For M1 : M1g - kx = M1a1 or a1 = 0 as kx = M1g
For M2 : M2g + kx = M2a2 or a2 = (M1+M2)gM2