Force of friction quick question

a block of mass 10kg is attached to a spring with a constant of 1850 N/m. the coefficient of sliding friction between the block and the surface is .25
the block is pulled back 11 cm to the right and released.

the question asks the speed at different points, and how far the distance after equilibrium it travels.

THe problem i have is this.... i am fine on all of this except for how to figure the friction into the equation? i know the velocity neglecting friction, and i know the force of friction acting on the box. i need something to put the two together. can someone please lend me a small hand?

Doc Al
Mentor
The stretched spring has a certain PE. If there were no friction, as the spring contracted $-\Delta \texrm(PE) = \Delta \texrm(KE)$. But with friction, some of that PE is transformed to heat via work done against friction. So: $-\Delta \texrm(PE) = \Delta \texrm(KE) + W_\texrm{(friction)}$. What's the work done against friction?

jamesrc
$$\Delta K + \Delta U = -fd$$