I am doing an experiment where I extended a spring from a equilibrium a set distance and then launch a ball with it. Then I see how high it goes and what its average speed is (total distance it flies divided by time).
The machine that has the spring in it is set at an angle of $45$ degrees. The aim of the experiment is to determine a relationship between distance from equilibrium of the spring to the height and velocity of the balls motion (2 different relationships).
The formula that express what happens could be given as, $0.5kx^2=mgh+0.5mv^2.$
My question is how much of the spring potential energy will be converted into gravitational energy and how much will be converted into kinetic energy (both at the highest point of the motion). My intuitive answer is it will be $50-50$ but I can't find any formulas that can support that claim in my hypothesis. Any ideas?