The work done by a force on a body depends on two factors:
(i) Magnitude of force applied
(ii) Displacement in the direction of force applied
The relation between work (W), force (F) and displacement (S) is given by following equation:
W = F.S. cos θ
Where,
(W) - Work done
(F) - Force
(S) - Displacement
(θ) - Angle between the force applied and displacement of the body.