An approximate solution to the scattering integral for general interatomic potentials