methode_de_newton.py

Created by alten01

Created on December 11, 2024

370 Bytes


- On cherche xbarre tq 
xbarre=g(xbarre)

On a f(x)=x^2-2
soit f'(x)=2x
On choisit un x0 astucieusement
On applique xn+1=xn-f(xn)/f'(xn)
xn+1 va ainsi tendre vers xbarre

- On veut mq xn+1 converge vers 
xbarre

On a xn+1=g(xn)
On derive g(x)
Soit g'(x) = 
1 -(f'(x))^2-f(x)f''(x)
/(f'(x))^2
= 1 - 1 = 0 <1

Donc xn+1 converge bien vers 
xbarre

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.