>>> from math import sin >>> from math import cos >>> def f(x): return x**2-sin(x) >>> def derivee(x): return 2*x-cos(x) >>> Newton(f,derivee,0.5,0.0000001) 0.8767262153968663