1 def iteration_lagrange(x0, q0, m, epsilon, f):
3 return f(xn)!=0 and abs(xn-xnm1)>epsilon
13 qn=float((f(xn)-f(xnm1)))/(xn-xnm1)
18 test=maj_test(xn,xnm1)
22 ////////////////////////////////////////////////////////////////////////////
23 print(iteration_lagrange(pi/4,1,200,0.0000001,f))