Thank you for reporting, we will resolve it shortly
Q.
A block of mass minitially at rest is dropped from a height $h$ on to a spring of force constant $k$. the maximum compression in the spring is $x$ then
Solution:
Change in gravitational potential energy = Elastic potential energy stored in compressed spring
$\Rightarrow m g(h +x)=\frac{1}{2} k x^{2}$