Está en la página 1de 10

Xr=(2-e^x+x^2)/3 por bisección

#iteracion x1 x2 x3 f(x1)
1 1 10 5.5 0.09391
2 1 5.5 3.25 0.09391
3 1 3.25 2.125 0.09391
4 1 2.125 1.56250 0.09391
5 1 1.5625 1.28125 0.09391
6 1.28125 1.5625 1.42188 0.01349
7 1.28125 1.4219 1.35156 0.01349
8 1.28125 1.3515 1.31638 0.01349

raíz 1.31638 ±0.04


Comprobación 0.00099
f(x2) f(x3) error max
-7308.15526 -70.81 4.50 -686.28005
-70.81398 -4.41 2.25
-4.40928 -0.62 1.13
-0.61909 -0.11 0.56
-0.10978 0.01 0.28
-0.10978 -0.04 0.14
-0.04105 -0.01 0.07
-0.01222 0.00 0.04
Xr=(2-e^x+x^2)/3 por newton rapson
x'r=2/3+2x/3
iteración x1 f(x1)
1 1 0.094
2 1.392211 -0.028
3 1.323233 -0.002

iteración x1 f(x1)
1 1 0.094
2 1.392 -0.028
3 1.324 -0.002
f'(x1) x2 Comprobación
-0.239 1.392 -0.028
-0.413 1.323 -0.002
-0.370 1.319 0.000

f'(x1) x2 Comprobación
-0.239 1.392 -0.028
-0.413 1.324 -0.002
-0.370 1.319 0.000
f(x)=3x^2-e^x
f'(x)=6x-e^x resuelto por newton rapson

iteración x1 f(x1) f'(x1)


1 1 0.281718 3.2817
2 0.914155 0.012373 2.9903
3 0.910018 0.000030 2.9757
x2 Comprobación
0.9142 0.01237
0.9100 0.00003
0.9100 0.00000
f(x)=3x^2-e^x por bisección
#iteracion x1 x2 x3 f(x1)
1 0 1 0.50 -1.000000
2 1 5.5 3.25 0.281718
3 1 3.25 2.13 0.281718
4 1 2.125 1.56 0.281718
5 1 1.5625 1.28 0.281718
6 1.28125 1.5625 1.42 1.323666
7 1.28125 1.4219 1.35 1.323666
8 1.28125 1.3515 1.32 1.323666

raíz 1.31638 ±0.04


Comprobación 0.00099

revisar problema
f(x2) f(x3) error max
0.281718 -0.898721 0.50
-153.941932 5.897160 2.25
5.897160 5.173978 1.13
5.173978 2.553486 0.56
2.553486 1.323666 0.28
2.553486 1.920301 0.14
1.920301 1.616706 0.07
1.616441 1.468653 0.04
fx=e^x+2e^-x+2Cosx-6
f'(x)=e^x-ln2/2^x -2senx
iteración x1 f(x1)
1 1 0.371708

#NAME?
f'(x1) x2 Comprobación
3.281718 0.886734 -0.068299

También podría gustarte