A force of 8.4 N holds an ideal spring with a 31.9 N/m spring constant in compression. How much potential energy is stored in the spring? I would think it would be PE =mgh to get m you divide the force/g but now I am not sure what to do after that. Any help would be great!!!