Novel Methods for Solving Linear and Nonlinear Integral Equations