A 15 g bullet is fired horizontally into a block of wood with a mass of 2.5 kg and embedded in the block. initially the block of wood hangs vertically and the impact cause the block to swing so that it its center of mass rises 15 cm. find the velocity of the bullet just before the impact.