Está en la página 1de 3

EJEMPLO DE NEWTON RAPHSON

f ( x )=x 3 +2 x2 +10 x−10=0 … ( 1 )

a) Por Teorema de Bolzano localizar el intervalo donde exista la raíz.

∃ x¿ ∈ ⟨ 0 , 1⟩

→ m=−1

b) Verificar su convergencia por N.R.

Si f ( x )=x 3 +2 x2 +10 x−10 entonces f 1 ( x )=3 x 2+ 4 x +10 , f (2) ( x )=6 x + 4

Veremos si x 0=0 es válido o no.

f ( 0 ) f (2) ( 0 ) <0 entonces x 0=0 no es válido para iterar.

Veremos si x 0=1 es válido o no

f ( 1 ) f (2) (1 )> 0 entonces x 0=1 es válido para iterar.

f ( 1 ) f (2) ( 1 )
|[ ] |f 1( 1)
2
=0.1038062284 ≤1(cumple )

∴ ∃ { x i } → x ¿ por N.R.

c) En la iteración ¿Cuantas cifras significativas exactas tiene la solución?

Con x 0=1 y con f ( x )=x 3 +2 x2 +10 x−10 , f 1 ( x )=3 x 2+ 4 x +10

f ( x i)
x i+1=x i−
f 1( xi )

x i3+ 2 x i2+ 10 x i−10


x i+1=x i−
3 x i2+ 4 x i +10
Escogeremos para dos cifras significativas exactas (n = 2 )

Se deja de iterar si |x i−x i−1|≤ 0.5 x 10 m−n+1 Con m=−1 , n=2

|x i−x i−1|≤ 0.5 x 10−2

i=0

f ( x0 ) f (1 )
Iteración inicial x 1=x 0− 1
=1−
f ( x0 ) f 1 (1)

Entonces x 1=0.8235294118

|x 1−x 0|=0.1764705882=0.2=0.2 x 10 0 ≤ 0.5 x 10−2( Falso )


i=1

Primera Iteración
f ( x1 ) f ( 0.8235294118 )
x 2=x 1− 1
=0.8235294118−
f ( x 1) f 1 ( 0.8235294118 )

Entonces x 2=0.8137299163

|x 2−x 1|=0.01035642=0.01=0.1 x 10−1 ≤ 0.5 x 10−2 (Falso )


i=2

Segunda Iteración
f ( x2 ) f ( 0.8137299163 )
x 3=x 2− 1
=0.8137299163−
f ( x2 ) f 1 ( 0.8137299163 )

Entonces x 3=0. 81370181106

|x 3−x 2|=0.000028105=0.0001=0.1 x 10−3 ≤ 0.5 x 10−2 (cumple)


Entonces x 3=0.81370181106 es solución con dos cifras significativas exactas.
Diagrama de flujo para newton raphson

También podría gustarte