A mass M is in static equilibrium on a mass less vertical spring as shown in the figure. A ball of mass m dropped from certain height sticks to the mass M after colliding with it. The oscillations they perform reach to height 'a' above the original level of scales & depth 'b' below it.