Steffensen's method: Difference between revisions

Content deleted Content added
inserted iteration count and limit, and over-run warning, into Python code
inserted blank line
Line 93:
p0 = p; % update p0 for the next iteration.
end
 
if abs(p - p0) > tol % If we fail to meet the tolerance, we output a
% message of failure.