Analytical integration of the Thomas–Fermi scattering cross section