Newton's method in Matlab - The Department of Mathematics at Colorado State University
Back to M331: Matlab Codes, Notes and Links Newton's Method in Matlab Suppose we want to find the first positive root of the function g(x)=sin(x)+x cos(x). Since g'(x)=2cos(x)-xsin(x), Newton's iteration scheme, x n+1 =x n-g(x n)/g'(x n) takes the form x ...