Usage example for Newton_Raphson related to Exercise 4.6
0001 % Usage example for Newton_Raphson 0002 % related to Exercise 4.6 0003 0004 p = [ 1 1 0 -2]; 0005 initial = 1.5; 0006 tol = 1e-6; 0007 max = 100; 0008 [ x,k ] = Newton_Raphson( p,initial,tol,max )