A body of mass `m` is released from a height h to a scale pan hung from a spring. The spring constant of the spring is `k`, the mass of the scale pan is negligible and the body does not bounce relative to the pan, then the amplitude of vibration is
A. `(mg)/(k)sqrt(1-(2hk)/(mg))`
B. `(mg)/(k)`
C. `(mg)/(k)+(mg)/(k)sqrt(1+(2hk)/(mg))`
D. `(mg)/(k)-(mg)/(k)sqrt(1-(2hk)/(mg))`