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