SUNY Geneseo Department of Mathematics
Wednesday, November 12
Math 230 01
Fall 2014
Prof. Doug Baldwin
εa = % estimated error
εs = % tolerance
while εa > εs
find midpoint, xm, as (x1 + x2)/2
make sure sign changes
compute f(xm)
if f(xm)f(x1) < 0
set x2 = xm
otherwise if f(xm)f(x1) > 0
set x1 = xm