A 5.00-g bullet is fired into a 500-g block of wood suspended as a ballistic pendulum. the combined mass swings up to a height of 8.00 cm. What was the magnitude of the momentum of the combined mass immediately after the collision?

Been there, done that