A rifle of mass 10 kg fires a 10 g bullet into a 3 kg block of woodwhich is suspended by a thin wire, forming a ballistic pendulum.The bullet remains embedded in the block of wood, which is observedto swing so that it reaches a vertical height of 20 cm above itsstarting point. What was the speed of the bullet, and with what speed did the rifle recoil?