A moving 4.90 kg block collides with a horizontal spring whose spring constant is 437 N/m. The block compresses the spring a maximum distance of 6.50 cm from its rest position. The coefficient of kinetic friction between the block and the horizontal surface is 0.190. What is the work done by the spring in bringing the block to rest? The Part after that is to find the work done by friction, which I got correct. The last part is to find the initial velocity of the block, I could just add the work done by friction and the spring and then solve for v with the KE formula. However, I cant seem to find the work done by the spring to bring the block to rest. Wouldn't you just use the formula W=(1/2)kx^2 ? I used that and got 0.923 J, which the program says is incorrect.