def main():
- print "TP 3.2 ............ ordre convergence corde"
- print ordre_convergence(iteration_corde(0,pi/2,0,200,0.00000001,f)[1])
+ print "TP 4.2 ............ ordre convergence corde"
+ print ordre_convergence(iteration_corde(0,pi/2,0,200,1E-9,f)[1])
- print "TP 3.2 ............ ordre convergence newton"
- print ordre_convergence(iteration_newton(0,200,0.00000001,f,fp)[1])
+ print "TP 4.2 ............ ordre convergence lagrange"
+ print ordre_convergence(iteration_lagrange(0,pi/2,200,1E-9,f)[1])
- print "TP 3.1 ............ ordre convergence lagrange"
- print ordre_convergence(iteration_lagrange(0,pi/2,200,0.00000001,f)[1])
+ print "TP 4.2 ............ ordre convergence newton"
+ print ordre_convergence(iteration_newton(0,200,1E-9,f,fp)[1])
+
if __name__ == '__main__':