The ballistic pendulum is a device used to measure the speed of a projectile such as a bullet. The projectile of mass m is fired
into a large block of wood or other material of mass M which is suspended like a pendulum. As a result of the collision, the pendulum and projectile together swing up to a maximum height ℎ. Determine the relationship between the initial horizontal speed v of the projectile and the maximum height ℎ.