Work : The work done by a constant force $F$ is the product of the component of force in the direction of displacement and the magnitude of displacement.
$$
\mathrm{du}=\int_{0}^{s}[F \cdot \cos \theta] d s
$$
Work done $=\Sigma$ [ Force in the direction of motion] …