Do i=i+1 xp=(xi+xs)/2 If xp=/o then Do operacion=f(xi)*f(xp) If operacion<0 then xs=xp Else if operacion>0 then xi=xp else xp=raíz end if if abs(xi-xs)<=tol then x es raíz Diagrama de flujo método de bisección Algoritmo método de falsa posición Definir xi, xs, tol, xp, i If f(xi)*f(xs)<0 Do i=i+1 xp = xi + f(xi)*(xs-xi) / f(xi)-f(xs) If xp=/o then Do operacion=f(xi)*f(xp) If operacion<0 then xs=xp Else if operacion>0 then xi=xp else xp=raíz end if if abs(f(xp))<=tol then x es raíz Diagrama de flujo método de falsa posición