A spring has a force constant of 9000 N/m. What is the elastic potential energy stored in the spring when it is (a) stretched ‘ 1.60 ‘ cm and (b) compressed ‘ 2.40 ‘ cm?

E = 1/2 kx^2