A small block of mass m is placed on a body of mass M at rest. If the block is set in horizontal motion with velocity v as shown,
(Assume that the small block leaves from surface of M vertically at A and all surfaces are smooth)
Find velocity of mass M, when the small block leaves the surface of M.