The spring on a popgun obeys Hooke's law and requires a force of 220 N to compress it 12.0 cm to its cocked position. How much energy is stores in the cocked spring?