Q. A block of mass slides from rest at a height on a frictionless inclined plane as shown in the figure. It travels a distance across a rough horizontal surface with coefficient of kinetic friction and compresses a spring of spring constant by a distance before coming to rest momentarily. Then the spring extends and the block travels back attaining a final height of .
image
Then

 2108  213 KVPYKVPY 2013Laws of Motion Report Error

Solution:

image
As spring is ideal, it gives energy stored back to the block.
Applying energy conservation, we have
Initial potential energy Work done against friction Final potential energy