There are two parts to the problem. In the first part, the ball goes from spring energy to kinetic energy. In the second part, we have a horizontal launch problem with the typical variables of v, h, R, and tair .
For horizontal launches, if you know 2/3 of v, R, or h , you can solve for the third. You do this by using the two equations of motion in y and x:
x = vt (constant velocity - true for any t)
y = 1/2 gt2 (constant a=g true for any t)
the usual procedure is to solve for ta:and find the last unknown (In this case given R and h, find v and ta
R = vta and h = 1/2 gta2 therefore ta= sqrt(2h/g) and v = R/ta (plug in values)
Now, we can set up the energy balance:
Espr,initial = EK,final or 1/2 kx2 = 1/2 mv2
solving for k: k = mv2/x2 (We are given x and m; v is the answer to "second part)
Note: you will get N/m for k if you put m in kg and x in m only!!! Leaving these as g and cm will produce nonsense.