The graph in the accompanying figure shows the magnitude of the force exerted by a given spring as a function of the distance x the spring is stretched.
a) How much work is needed to stretch this spring a distance of 5.00 cm , starting with it unstretched.
b) How much work is needed to stretch this spring from x1 = 2.00 cm to x2 = 7.00 cm ?