Four forces are acting on the body:
1. weight (mg)
2. normal reaction (N)
3. friction (f) and
4. the applied force (F). Using work-energy theorem
`W_("net") = DeltaKE`
or `W_mg + W_N + W_f + W_f = `…….(i)
Here, `DeltaKE = 0`, because `K_(i) = 0 K_(f)`
`W_(mg) = - mgh`
`W_(N) = 0`
(as normal reaction is perpendicular to displacement at all points)
`W_(f)` can be calculated as under
`f = mu mg cos theta`
`:. (dW_(AB))_(f) = - fds`
`= -(mu mg cos theta)ds`
`= -mu mg(dl)` , (as `ds cos theta = dl`)
`:. f = - mu mg sum dl = - mu mgl`
Substituting these values in Eq. `(i)`, we get
`W_(F) = mgh + mu mgl`
![image](https://learnqa.s3.ap-south-1.amazonaws.com/images/16099629949225875391609962994.png)