1. The problem statement, all variables and given/known data A ball of mass m is launched at an angle theta from a spring gun of length D. The lower end of the gun, where the spring is attatched, is at ground level. The spring has spring constant k and an unstretched length D. Before launch, the spring is compressed to a length d. Determine the maximum height h above the ground the ball reaches. 2. Relevant equations (k(x^2)/2)=mgh ?? x = mgcos(theta) 3. The attempt at a solution Plugging in "x" I get: h=(k(mgcos(theta))^2)/2mg Is this correct? If not please explain in detail and provide the steps and solution. TIA.