## regula_falsi_pseudocode.txt Input: function f, negative and positive arguments xn and xp, xtol, ftol, itmax Begin loop Set x to ( f(xn)*xp - f(xp)*xn ) / (f(xn) - f(xp) ) Set old to | xp - xn | If f(x) is negative, replace xn by x else replace xp by x Set new to | xp - xn | Set alpha to new / old possibly print alpha if new is less than xtol and |f| is less than ftol, success else if it > itmax, failure else repeat End loop Output: updated values of xn and xp and it