>>> def f(x): return x**2-3*x+2 >>> dichotomie(f,1.6,2.6,0.000001) 1.9999996185302735