Two masses m1=5 kg and m2=10 kg connected by an inextensible string over a frictionless pulley, are moving as shown in the figure. The coefficient of friction of the horizontal surface is 0.15. Find the minimum weight m that should be put on top of m2 to stop the motion.
(T is tension in the string and take g=10 m/s2)