(My textbooks are in french, so I'm translating, might get some terms wrong.. )
Starting from rest, a box of 31kg slides down a ramp inclined at an angle of 31 degrees, relative to the horizontal. At the bottom, the box hits a spring with a constant of 9.8 * 10^2N/m. The spring undergoes a compression of 0.26m before the box immobilizes. Determine the total distance that the box travelled, consider the friction negligible.
Et1 = Et2
F = -kx
Ee = 1/2kx^2
Ec = 7/2mv^2
The Attempt at a Solution
I really can't find out how to determine the distance the box traveled. I know that i have to start out off by finding the amount of force it takes to compress the spring by 0.26m. But I have no idea how to do the rest. Any help would be very much apreciated :)