A body of mass m falls from a height h onto a pan (of negligible mass) of a spring balance as shown. The spring also possess negligible mass and has spring constant k. Just after striking the pan, the body starts oscillatory motion in vertical direction of amplitude A and energy E. Then