pt_fixe_lagrange.py

Created by alten01

Created on December 11, 2024

530 Bytes


methode de lagrange

methode pour approcher une sol de 
l eq f(x)=0

xn satisfait 
f(bn)-f(an)/bn-an*(xn-bn)+f(bn)=0
soit xn =
an*f(bn)-bn*f(an)/f(bn)-f(an)

on etudie le signe de f(xn)
Si f(xn)<0 on remplace an par xn
Si f(xn)>0 on remplace bn par xn

conditions dutilisation
f continue 
f(a)*f(b)<0
f doit etre convexe ou concave
=> f''>0 ou f''<0

criteres darret
- qd la valeur de la fct est 
proche de 0 :
abs(f(xn))<epsilon
- qd la diff entre les 2 iterations
est tres petite : 
abs(xn+1-xn)<epsilon

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.