Você está na página 1de 5

ECUACIONES

1. Resuelva los siguientes ejercicios usando el mtodo de Newton.


a) Ln(x)-1/x=0
SOLUCION
Mtodo del Newton Raphson: f(x)=Ln(x)-1/x
1
f(x) Ln(x)
x x2 Ln(x)x x2 x2 Ln(x)+2x
xi+1=x- =x- 1 1 =x- =
f(x) + x+1 x+1
x x2

Asumimos valor inicial de x0=2


Los dems valores se detallan a continuacin:
i x g(x)
1 2 1,74247043
2 1,74247043 1,76305587
3 1,76305587 1,76322282
4 1,76322282 1,76322283
5 1,76322283 1,76322283
Solucin:
x=1,76322283
b) x3-x-1=0, x0=1
SOLUCION
Mtodo del Newton Raphson: f(x)=x3-x-1
f(x) x3 x1 2x3 +1
xi+1=x- =x- =
f(x) 3x2 1 3x2 1

Asumimos valor inicial de x0=1


Los dems valores se detallan a continuacin:
i x g(x) |xi+1 xi |
1 1 1,5 0,5
2 1,5 1,34782609 0,15217391
3 1,34782609 1,3252004 0,02262569
4 1,3252004 1,32471817 0,00048222
5 1,32471817 1,32471796 2,1675E-07
6 1,32471796 1,32471796 4,3743E-14

Solucin:

x=1,32471796 error: =4,374x10-14


c) -x3-Cos(x)=0, x0=-1
SOLUCION
Mtodo del Newton Raphson: f(x)=x3+Cos(x)
f(x) x3 +Cos(x) 2x3 xSen(x)Cos(x)
xi+1=x- =x- =
f(x) 3x2 Sen(x) 3x2 Sen(x)

Asumimos valor inicial de x0=-1


Los dems valores se detallan a continuacin:
i x g(x) |xi+1 x1 |
1 -1 -0,8803329 0,1196671
2 -0,8803329 -0,86568416 0,01464874
3 -0,86568416 -0,86547408 0,00021009
4 -0,86547408 -0,86547403 4,2851E-08
Solucin:
x=-0,86547408 error: =4,28x10-8
d) x3-2x2-5=0, x0=2
SOLUCION
Mtodo del Newton Raphson: f(x)=x3-2x2-5
f(x) x3 2x2 5 2x3 2x2 +5
xi+1=x- =x- =
f(x) 3x2 4x 3x2 4x

Asumimos valor inicial de x0=0


Los dems valores se detallan a continuacin:
i x g(x) |xi+1 x1 |
1 2 3,25 1,25
2 3,25 2,81103679 0,43896321
3 2,81103679 2,6979895 0,11304729
4 2,6979895 2,69067715 0,00731235
5 2,69067715 2,69064745 2,9704E-05
Solucin:
x=2,69067715 error: =2,97x10-5
e) x3+3x2-1=0, x0=-3
SOLUCION
Mtodo del Newton Raphson: f(x)=x3+3x2-1
f(x) x3 +3x2 1 2x3 +9x2 +1
xi+1=x- =x- =
f(x) 3x2 +12x 3x2 +12x

Asumimos valor inicial de x0=-3


Los dems valores se detallan a continuacin:
i x g(x) |xi+1 x1 |
1 -3 -3,11111111 0,11111111
2 -3,11111111 -3,36127646 0,25016534
3 -3,36127646 -4,15027512 0,78899866
4 -4,15027512 6,97355821 11,1238333
5 6,97355821 4,86522384 2,10833437
6 4,86522384 3,43414382 1,43108002
7 3,43414382 2,45646648 0,97767734
El proceso no itera
f) x3+2x2+10x-20=0, x0=1
SOLUCION
Mtodo del Newton Raphson: f(x)=x3+2x2+10-20
f(x) x3 +2x2 +10x20 2x3 +2x2 +20
xi+1=x- =x- =
f(x) 3x2 +4x+10 3x2 +4x+10

Asumimos valor inicial de x0=1


Los dems valores se detallan a continuacin:
i x g(x) error
1 1 1,41176471 0,41176471
2 1,41176471 1,36933647 0,04242824
3 1,36933647 1,36880819 0,00052828
4 1,36880819 1,36880811 8,0796E-08
Solucin:
x=1,36880819 error: =8,079x10-8
g) x2-2xe-x=0, x0=0,5
SOLUCION
Mtodo del Newton Raphson: f(x)=x2-2xe-x
f(x) x2 2xex x2 +2x2 ex
xi+1=x- =x- =
f(x) 2x2ex +2xe x 2x2ex +2xex

Asumimos valor inicial de x0=0,5


Los dems valores se detallan a continuacin:
i x g(x) error
1 0,5 1,40612056 0,90612056
2 1,40612056 0,9784282 0,42769237
3 0,9784282 0,86416863 0,11425956
4 0,86416863 0,85272829 0,01144034
5 0,85272829 0,85260552 0,00012278
Solucin:
x=0,85272829 error: =1,23x10-4
h) x-Cos(x)=0, x0=0
SOLUCION
Mtodo del Newton Raphson: f(x)=x-Cos(x)
f(x) xCos(x) xSen(x)+Cos(x)
xi+1=x- =x- =
f(x) 1+Sen(x) 1+Sen(x)

Asumimos valor inicial de x0=0


Los dems valores se detallan a continuacin:
i x g(x) error
1 0 1 1
2 1 0,75036387 0,24963613
3 0,75036387 0,73911289 0,01125098
4 0,73911289 0,73908513 2,7758E-05
Solucin:
x=0,73911289 error: =2,77x10-5
i) e-x-Ln(x)=0, x0=1
SOLUCION
Mtodo del Newton Raphson: f(x)=e-x-Ln(x)
f(x) ex Ln(x) x2 ex xxex +xLn(x)
xi+1=x- =x- =
f(x) ex 1/x xex 1

Asumimos valor inicial de x0=0


Los dems valores se detallan a continuacin:
i x g(x) error
1 1 1,58197671 0,58197671
2 1,58197671 0,98859847 0,59337823
3 0,98859847 1,58844793 0,59984946
4 1,58844793 0,98061059 0,60783734
5 0,98061059 1,59278292 0,61217233
6 1,59278292 0,97525525 0,61752767
7 0,97525525 1,5955957 0,62034045
El proceso no itera

Você também pode gostar