Answer:
L = 2.98 m
Step-by-step explanation:
In this exercise we are told that there is no friction, so we can use energy conservation
Starting point. Compressed spring
Em₀ = Ke = ½ k x²
Final point. At the highest point of the ramp
= U = mg h
As there is no friction the energy is conserved
Emo = Em_{f}
½ k x² = mg h
h = ½ k x² / mg
h = ½ 400 0.50² / (5.0 9.8)
h = 1.02 m
This is the height that the body reaches, to calculate the distance traveled on the ramp let's use trigonometry
sin θ = h / L
L = h / sin θ
L = 1.02 / sin 20
L = 2.98 m