Sei sulla pagina 1di 12

MÉTODOS ABIERTOS

M É TODOS N U M É RICOS
UN I V ERSIDA D COOP E R ATIVA DE COLOM BI A
DOCE N T E: YU L I E TH C. R E YES
Método de Newton-Raphson

𝑓(𝑥𝑖 )
𝑥𝑖+1 = 𝑥𝑖 −
𝑓′(𝑥𝑖 )
EJEMPLO →Use el método de Newton Raphson para
encontrar la raíz de la siguiente función: 𝑓 𝑥 = 𝑥 3 − 2𝑥 − 5 = 0
1. Se identifica el valor inicial (𝑥1 )

𝑥1 = 2
2. Se identifica el primer valor de aproximación (𝑥2 )

3 𝑓(𝑥𝑖 )
𝑓 𝑥1 = 𝑥 − 2𝑥 − 5 = 0 𝑥𝑖+1 = 𝑥𝑖 −
𝑓′(𝑥𝑖 )
𝑓 2 = (2)3 −2 2 − 5 = −1
𝑓(𝑥1 )
𝑥2 = 𝑥1 −
𝑓´ 𝑥1 = 3𝑥 2 − 2 = 0 𝑓′(𝑥1 )
𝑓´ 2 = 3(2)2 − 2 = 10 −1 21
𝑥2 = 2 − = = 2.1
10 10
𝑥2 = 2.1
3. Se identifica el segundo valor de aproximación (𝑥2 )

3 𝑓(𝑥𝑖 )
𝑓 𝑥2 = 𝑥 − 2𝑥 − 5 = 0 𝑥𝑖+1 = 𝑥𝑖 −
𝑓′(𝑥𝑖 )
𝑓 2.1 = (2.1)3 −2 2.1 − 5 = 0.061
𝑓(𝑥2 )
𝑥3 = 𝑥2 −
𝑓´ 𝑥2 = 3𝑥 2 − 2 = 0 𝑓′(𝑥2 )
2 0.061 23.52
𝑓´ 2 = 3(2.1) − 2 = 11.23 𝑥3 = 2.1 − = = 2.09
11.23 11.23
𝑥3 = 2.09
iteraciones x_i f(xi) f'(xi) x_i+1
0 2 -1 10 2,1
1 2,1 0,061 11,23 2,094568121 0,259
2 2,094568121 0,000185723 11,16164684 2,094551482 0,001 RAÍZ
3 2,094551482 1,73976E-09 11,16143773 2,094551482 0,000
4 2,094551482 0 11,16143773 2,094551482 0,000
5 2,094551482 0 11,16143773 2,094551482 0,000

RAÍZ = 2,094551482
Desventajas

Potrebbero piacerti anche