To change the hanging mass M2 with no impact on the system's motion, the new mass must have the same weight as M2, or adjust the velocity of M1 to achieve a new tension force that equals the weight of the new mass.
The scenario involves a system where mass M1 is rotating on a frictionless table while connected to mass M2, which is hanging and at rest. According to Newton's second law and the concept of centripetal force, the tension in the rope caused by the circular motion of M1 must equal the weight of the hanging mass M2 for it to remain at rest. Therefore, if you wish to change mass M2 without affecting the system's motion, you must ensure that the new mass either has the same weight as the original mass M2, so the tension in the rope and thus the centripetal force remains unchanged or adjust the tangential velocity of the mass M1 such that the new tension equals the weight of the new mass.
Remember, the formula for determining the tension in the rope due to a mass moving in a circular path (with radius R and tangential velocity v) is T = M1 * v² / R, where T is the tension, and this tension is balanced by the weight of the hanging mass M2, that is T = M2 * g, where g is the acceleration due to gravity.