A block of mass is attached to a spring of spring constant (see the figure). The other end of the spring is attached to a support while the mass rests on a rough surface with a coefficient of friction of that is inclined at angle of .The block is pushed along the surface till the spring compresses by and is then released from rest.
a) How much potential energy was stored in the block-spring-support system when the block was just released?
b) Determine the speed of the block when it crosses the point when the spring is neither compressed nor stretched.
c) How far up the incline from the initial compressed position does the mass come to rest?