The force which may cause the tendency of motion or motion in the body is its own weight and the applied horizontal force of 15N. The resultant of the forces.
F=√202+152=25N in a direction tan−1(1520)=37o with the vertical.
The friction will, by its very virtue of opposing the tendency of relative motion act in a direction opposite to the resultant force. Now, for the acceleration to be minimum, the minimum force requires=F−μN (as, μN is the maximum friction force)
=25−0.5×40=5 N
Minimum acceleration is 52=2.5 m/s2