A ball is attached to one end of a wire, the other end beingfastened to the ceiling. The wire is held horizontal, and the ballis released from rest (see the drawing). It swings downward andstrikes a block initially at rest on a horizontal frictionlesssurface. Air resistance is negligible, and the collision iselastic. The masses of the ball and block are, respectively, 1.6 kgand 2.3 kg, and the length of the wire is 1.21 m. Find the velocity(magnitude and direction) of the ball (a) just before thecollision, and (b) just after the collision.