http://www.mathhelpforum.com/math-he...ns-method.html
BTW if your referring to MATLAB, it stands for Matrix Laboratory.
Don't worry I made the same mistake also.
http://www.mathhelpforum.com/math-he...ns-method.html
BTW if your referring to MATLAB, it stands for Matrix Laboratory.
Don't worry I made the same mistake also.
A script like:
should do.Code:f=inline('x^3+13.6*x^2+42.2*x-9'); Df=inline('3*x^2-27.6*x+42.2'); x=1; for n=0:4 err=f(x)/Df(x); rv=[rv;[n,x,err]]; x=x-err; end disp(rv);
You will have to add your own lables.
Though you might find Excel a more suitable tool if you are not a fluent programmer.
CB