Está en la página 1de 5

Álvarez Muñoz Tobías Andrés

MÉTODO DE NEWTON-RAPHSON

a ¿ ln x−x +2=0

Solución por método Newton Raphson:


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

Primero se halla la derivada de la función f ( x )=ln ( x ) −x+2 :


' 1 ' 1−x
Tenemos entonces: f ( x )= −1 ⇒ f ( x )=
x x

i xi |x i+1−x i|< 0.001


0 0.3 -
1 0.087417 0.212583
2 0.137658 0.050241
3 0.156916 0.019258
4 0.158584 0.001668
5 0.158594 0.000010

Primera iteración:
i=0
Se tomará x 0=0. 3

f ( x0 ) ln ( 0.3 )−0.3+2
x 1=x 0− =0.3− =0.08741 7
'
f ( x0 ) 1−0.3
0.3

Segunda iteración:
i=1

f ( x1 ) ln ( 0.087417 )−0.087417+ 2
x 2=x 1− '
=0.087417− =0.13765 8
f ( x1 ) 1−0. 087417
0.087417
Álvarez Muñoz Tobías Andrés

Tercera iteración:
i=2

f ( x2 ) ln ( 0.13 7 658 )−0.13 7 658+2


x 3=x 2− '
=0.13 7 658− =0. 156916
f ( x 2) 1−0.1 3 7 658
0. 137 658
Cuarta iteración:
i=3

f ( x3 ) ln ( 0.1 56916 )−0.156916+ 2


x 4 =x3 − =0.1 56916− =0.1 58584
'
f ( x3) 1−0.1 56916
0. 156916
Quinta iteración:
i=4

f ( x4 ) ln ( 0.1 58584 )−0.158584+ 2


x 5=x 4 − '
=0.15 8584− =0.15 8594
f ( x4 ) 1−0.158584
0.158584

x
b ¿ x e −2=0
Solución por método Newton Raphson:
Primero se halla la derivada de la función f ( x )=x e x −2 :

Tenemos entonces: f ' ( x )=e x + x e x ⇒ f ' ( x )=e x (1+ x)

i xi |x i+1−x i|< 0.001


0 1.5 -
1 1.078504 0.421496
2 0.886878 0.191626
3 0.853490 0.033388
4 0.852606 0.000884

Primera iteración:
i=0
Álvarez Muñoz Tobías Andrés

Se tomará x 0=1.5

f ( x0 ) ( 1.5 ) ¿ e (1.5 )−2


x 1=x 0− =1.5− =1.078504
e (1.5 )∗[ 1+ ( 1.5 ) ]
'
f ( x0)

Segunda iteración:
i=1

f ( x1 ) (1.078504 ) ¿ e(1.078504 )−2


x 2=x 1− =1.078504− =¿ 0.886878
e (1.078504 )∗[ 1+ ( 1.078504 ) ]
'
f ( x1 )

Tercera iteración:
i=2

f ( x2) ( 0.886878 ) ¿ e (0.886878 )−2


x 3=x 2− ' =0.886878− (0.886878 ) =0. 853490
f ( x 2) e ∗[ 1+ ( 0.886878 ) ]

Cuarta iteración:
i=3

f ( x3) ( 0.853490 ) ¿ e (0.853490 )−2


x 4 =x3 − ' =0.8 53490− ( 0.853490) =0.8 52606
f ( x3 ) e ∗[1+ ( 0.853490 ) ]

c ¿ x−2 cos x=0


Solución por método Newton Raphson:
Primero se halla la derivada de la función f ( x )=x−2cos x :

Tenemos entonces: f ' ( x )=1+2 sen x

i xi |x i+1−x i|< 0.001


0 2 -
1 1.998861 0.001139
2 1.998788 0.000073
Álvarez Muñoz Tobías Andrés

Primera iteración:
i=0
Se tomará x 0=2

f ( x0 ) ( 2 )−2 cos (2)


x 1=x 0− '
=2− =1.998861
f ( x0 ) 1+2 sen( 2)

Segunda iteración:
i=1

f ( x1) ( 1.998861 )−2 cos (1.998861)


x 2=x 1− '
=1.998861− =1.998788
f ( x1 ) 1+2 sen (1.998861)

3 3
d ¿ x −5 x =−1 ⇒ x −5 x +1=0

Solución por método Newton Raphson:


Primero se halla la derivada de la función f ( x )=x 3−5 x +1 :

Tenemos entonces: f ' ( x )=3 x 2−5

i xi |x i+1−x i|< 0.001


0 0.5 -
1 0.176471 0.323529
2 0.201568 0.025097
3 0.201640 0.000072

Primera iteración:
i=0
Se tomará x 0=0.5

f ( x0 ) 3
( 0.5 ) −5 ( 0.5 ) +1
x 1=x 0− ' =0.5− 2
=0.176471
f ( x0) 3 ( 0.5 ) −5
Álvarez Muñoz Tobías Andrés

Segunda iteración:
i=1

f ( x1 ) 3
( 0.176471 ) −5 ( 0.176471 ) +1
x 2=x 1− =0.176471− =0.201568
f ' ( x1 ) 2
3 ( 0.176471 ) −5

Tercera iteración:
i=2

f ( x2) 3
( 0.201568 ) −5 ( 0.201568 ) +1
x 3=x 2− ' =0.201568− 2
=0.201640
f ( x 2) 3 ( 0.201568 ) −5

También podría gustarte