Problem 6.12: An oscillating mass on a spring

Please wait for the animation to completely load.

A ball on an air track is attached to a compressed spring (at x = 0 m the spring is unstretched) as shown in the animation (position is given in meters and time is given in seconds). Which area properly represents the work done by the spring during the animation (assume v = 0 m/s at the beginning and end of the animation)? Restart.