Solves integral equations with singular divergences numerically