Iterative Methods for Linear and Nonlinear Equations