the block B of mass m starts from rest at the top of a wedge W of mass M. All surfaces are without friction. W can slide on the ground. B slides down onto the ground