function regulafalsi(x,y,Niter,tol) disp("") disp ("Output for the Regula Falsi method") disp("") disp (" n a b x f(x)") for i=1:Niter oldy=y; y=y-f(y)*(y-x)/(f(y)-f(x)); if (f(y)==0 |abs(y-x)