A block of mass 0.05 kg is pushed against a spring with spring constant k = 25 N/m. The spring is compressed 0.1m from its natural length. The block is released and it slides along a surface with coefficient of friction μ = 0.5. How far does the block travel from the point at which it is released?

1 answer

Got it:
(1/2)* k * x^2 = f * d
Where k is spring constant, x is the compression of the spring, f is the frictional force, d is the distance traveled by the block before coming to a halt.