A block is simply released from the top of an inclined plane as shown in the figure above. The maximum compression in the spring when the block hits the spring is :
The kinetic energy at bottom is the potential energy when it was at the top of inclined plane
= mgh
=
=
Friction acts opposite to the motion of block,so this is negative work
=
=
=
the leftover energy now, is stored completely in spring as final kinetic energy of mass is 0.
= =
250 - 50 =
200=
4=
=2
Tagged Conservation of mechanical energy. Machine-assigned, so read it as a strong shortlist rather than a verdict.