Work by a Spring

Which graph properly represents the work done by the spring during the animation?

  1. Graph 1
  2. Graph 2
  3. Graph 3
  4. Graph 4