4.6 Newton's Method - Cooper Union
faculty.cooper.edu › Calc1 › Ch04Newton's method. The following implementation of Newton's method (newtonsMethod.m)illustrates the whileloopstructure in MATLAB which causes a block of codeto be executed repeatedly until a condition is met. function approximateZero = newtonsMethod( fnc, x0, tol )% implementation of Newton's Method for finding a zero of a function% requires a symbolic expression, a starting point, and a tolerance as input% produces either an input, which when substituted into the given expression,% ...