How this connects to AP Physics 1 (Topics 4.4 and 3.4): the collision is inelastic, so use conservation of momentum to find the speed right after impact. Then the swing is a conservative energy problem: the kinetic energy becomes gravitational potential energy, giving h = v²/(2g).