A spring with spring constant 120 N/m and unstretched length 0.4 m has one end anchored to a wall and a force F is applied to the other end.

Required:
a. If the force F does 250 J of work in stretching out the spring, what is its final length?
b. If the force F does 250 J of work in stretching out the spring, what is the magnitude of F at maximum elongation?