function p=newton_table(f,df,p0,tol,max_iterations) % Newton's method: See section 2.3. % This version prints the iterations in a table. g = @(x) x - f(x) / df(x); p = fixedpoint_table(g, p0, tol, max_iterations);