def Newton(f,derivee,x0,epsilon): x=x0 while abs(f(x))>epsilon : x=x-f(x)/derivee(x) return x