function secant(x,y,Niter,tol) disp("") disp ("Output for the Secant method") disp("") disp (" n x err f(x)") for i=1:Niter if (f(x)==0 |abs(x-y)