5. [14 points] A ball of negligible size and mass m is given a velocity of vo on the center of the cart which has a mass M and is originally at rest. If the coeficient of restitution between the ball and walls A and B is e, determine the velocity of the ball and the cart just after the ball strikes A. Also, determine the total time needed for the ball to strike A, rebound, then strike B. and rebound and then return to the center of the cart. Neglect friction.
