Find the minimum force P required to avoid sliding of the block of weight W on the incline plane
If there was no friction block would have slided down as P along with friction is just able to avoid sliding.
So friction has to be up the incline on the block.
Now,
Psinα+N=mgcosλ
N = mgcosλ−Psinα
Pcosα+μN=mgsinλ
Pcosα+μ(mgcosλ−Psinα)=mgsinλ
P(cosα−μsinα)=mg(sinλ−μcosλ)
P=mg(sinλ−μcosλ)(cosα−μsinα)