A stick of length L and mass M lies on a frictionless horizontal surface on which it is free to move in any way. A ball of mass m moving with speed v collides elastically with the stick as shown in figure.
If after the collision the ball comes to rest, then what should be the mass of the ball?