A force of 540 N keeps a certain ideal spring stretched a distance of 0.300 m.
A) What is the potential energy of the spring when it is stretched 0.300 m?
B) What is its potential energy when it is compressed 6.00 cm?