A force of 5 N acts on a moving body& after some time an equal &opposite force acts on this body will it come to rest or not

no. once two opposite and equal forces are acting on the body, its net acceleration is zero.

So, whatever velocity it had when the 2nd force started, it will keep that velocity.

To determine whether the body will come to rest or not, we need to consider the net force acting on it. Net force is the vector sum of all the forces acting on an object. If the net force on the object is zero, the object will come to rest.

In this case, a force of 5 N is initially acting on the moving body. After some time, an equal and opposite force will be applied, canceling out the initial force. If the magnitude of the second force is also 5 N but in the opposite direction, then the net force on the body will be zero. As a result, the body will come to rest.

In summary, if an equal and opposite force of 5 N is applied to the moving body, it will come to rest due to the net force being zero.