A ball of mass m is released from A inside a smooth wedge of mass m as shown in Fig. 8.269. What is the speed of the wedge when the ball reaches point B?