Given data:
* the displacement of the box in the horizontal direction is 5 m.
* The force applied on the box at an angle of 45 degree is 20 N.
Solution:
The representation of the given system is,
The work done by the force during the displacement is,

Substituting the known values,

Thus, the work done on the box by the force F during the given displacement is 70.71 J.