An approximation method for the solution of nonlinear integral equations