A spring of force constant 800 N/m has an extension of 5 cm. The work done in extending it from 5 cm to 15 cm is (in J)
W=12k(x22−x12)=12×800×(152−52)×10−4=8 J