A wedge of mass M=4.0kg rests on a smooth horizontal floor. Its smooth inclined face makes 45∘ with the horizontal. A small ball of mass m=2.0kg is released from rest 5.0m vertically above a point on the inclined face. It strikes the face and the collision is perfectly elastic. The wedge stays in contact with the floor throughout. Take g=10m s−2. What is the speed of the wedge just after the impact?