A cart of mass
M is at rest on a frictionless horizontal surface and a pendulum bob of mass
m hangs from the roof of the cart. The string breaks, the bob falls on the floor, makes several collisions on the floor and finally lands up in a small slot made in the floor. The horizontal distance between the string and the slot is
L. Find the displacement of the cart during this process.