http://www.mathhelpforum.com/math-he...-question.html
See here for Newton's method. You can simply insert a counter in your for loop like:
i=0
(in for)
i = i+1;
end
You'll find it converges very fast.
http://www.mathhelpforum.com/math-he...-question.html
See here for Newton's method. You can simply insert a counter in your for loop like:
i=0
(in for)
i = i+1;
end
You'll find it converges very fast.