Answer:
Work done by the spring is negative
Step-by-step explanation:
We can answer this question by thinking what is the force acting on the box.
In fact, the force acting on the box is the restoring force of the spring, which is given by Hooke's Law:
where
k is the spring constant
x is the displacement of the box with respect to the equilibrium position of the spring
The negative sign in the equation indicates that the direction of the force is always opposite to the direction of the displacement: so, whether the spring is compressed or stretched, the force applied by the spring on the box is towards the equilibrium position.
The work done by the restoring force is also given by
where
F is the restoring force
x is the displacement
is the angle between the direction of the force and the displacement
Here we know that the force is always opposite to the displacement, so
Which means that the work done by the spring is always negative, since the direction of the restoring force is always opposite to the direction of motion.