physics please help!!
posted by archi .
A moving 2.20kg block collides with a horizontal spring whose spring constant is 419 N/m. The block compresses the spring a maximum distance of 9.00cm from its rest postion. The coefficient of kinetic friction between the block and the horizontal surface is 0.140.
a) What is the work done by the spring in bringing the block to rest?
b) How much mechanical energy is being dissipated by the force of friction while the block is being brought to rest by the spring?
c) What is the speed of the block when it hits the spring

a. 1/2 k x^2 is the work done by the spring.
b. workfriction= mu*mg*x
c. 1/2 mv^2= a)+ b) solve for v 
what is x?

x is the displacement of the block when compressed.

so, in this case its 9cm?