You shoot a 51-g pebble straight up with a catapult whose spring constant is 320N/m. The catapult is initially stretched by 0.20m. How high above the starting point does the pebble fly? Ignore air resistance.

I did not know catapults had springs.

Try setting the potential energy stored in the spring equal to the potential energy rise at the highest elevation.