See the diagram on the next page. In the region where potential is nonzero, the kinetic energy of the particle is, by energy conservation,
T + U and the momentum of the particle has the magnitude.

On the boundary the force is radial, so the tangential component of the momentum does not change :



