Question
Question: Find the work done by the force when the body moves from \[A\] to \[B\]. 
Where W represent the work done by the body, F represent the force applied on the body and s represent the distance through which the body moves.
Calculate the distance from point A to point P
Using Pythagorean Theorem,
⇒ac=ab2+bc2
Now we substitute the values,
⇒AP=1.22+0.92
Adding inside the square root,
⇒AP=1.44+0.81
Further solving, we get
⇒AP=2.25
Simplify the term and we get,
⇒AP=1.5m
Now consider the displacement of point P, when the body moves from point A to point B,
⇒1.5−0.9=0.6m
Now we calculate the work done by substituting the value in equation (1),
⇒W=300×0.6
After simplification, we get
∴W=180N⋅m
Therefore, the work done by the force when the body moves from point A to point B is 180N.m.
Note: Do not forget to convert all the values into the standard units. Work is said to be done, when the body displaces some distance. The Si unit of work done is N.m and it is also calculated in Joule.