37.1k views
3 votes
Create a MATLAB function r = nm(f,x0,tol) which applies Newton's method to an anonymous function f(x). Start with a guess of x0 Run until the absolute value of a current iteration subtracted by the last iteration is less than tol (ie |x(n)-x(n+1)|

User Mech
by
5.3k points

1 Answer

5 votes

Answer:

...............................................

Step-by-step explanation:

............................................................

User Atomfinger
by
5.6k points