Numerical solution of nonlinear integral equations using alternative Legendre polynomials