Sei sulla pagina 1di 18

Practica # 4

Aplicando los métodos de intervalos abiertos determiar la solución de las siguientes funciónes,
Metodos Abiertos
a.- Punto Fijo. Para las funciónes
b.-Metodo Newton Raphson a.- F(X) = Ln(X^2+2) + X -6
C.- Metodo de Newton RaphsonModificado b.- F(X) = 2*X^3 - 9*X^2 +12*X -3
c.- F(X) = X^10 - 1
d.- F(X) = X^4 -3*X^2

a.- Punto Fijo. a.- F(X) = Ln(X^2+2) + X -6

X 3

Tabla 1
Iteraciones Xi Xi+1 % error
1 3 3.60210473
2 3.60210473 3.29360727 9.36655246
Xi+1
3 3.29360727 3.44682361 4.4451457 3.7
4 3.44682361 3.36950832 2.29455674
3.6
5 3.36950832 3.40821501 1.13568791
6 3.40821501 3.3887596 0.57411594
3.5
7 3.3887596 3.39851907 0.28716832
8 3.39851907 3.39361848 0.14440609 3.4
9 3.39361848 3.39607801 0.07242261
10 3.39607801 3.3948433 0.03637017 3.3
11 3.3948433 3.39546306 0.01825258
3.2
12 3.39546306 3.39515195 0.00916326
13 3.39515195 3.39530812 0.00459941
3.1
0 2 4 6 8 10 12

b.-Metodo Newton Raphson

a.- F(X) = Ln(X^2+2) + X -6
Tabla 2
Iteración Xi Xi+1 F(Xi) F´(xi) % Error
Chart Ti
1 3 3.38959718 -0.60210473 1.54545455 3.396
2 3.38959718 3.39525481 -0.00850093 1.5025583 0.16663363 3.395
3 3.39525481 3.39525592 -1.6683E-06 1.50196869 3.27154E-05 3.394
4 3.39525592 3.39525592 -6.4837E-14 1.50196858 1.26873E-12 3.393
5 3.39525592 3.39525592 0 1.50196858 0 3.392
6 3.39525592 3.39525592 0 1.50196858 0 3.391
7 3.39525592 3.39525592 0 1.50196858 0 3.39
8 3.39525592 3.39525592 0 1.50196858 0 3.389
9 3.39525592 3.39525592 0 1.50196858 0 3.388
10 3.39525592 3.39525592 0 1.50196858 0 3.387
11 3.39525592 3.39525592 0 1.50196858 0
3.386
0 2 4 6
3.388
3.387
3.386
0 2 4 6

Tabla 3
C.- Metodo de Newton Raphson Modificado
a.- F(X) = Ln(X^2+2) + X -6 3.402
Tabla 3 3.401
Iteración Xi Xi+1 F(Xi) F´(xi) F''(Xi) % error 3.4
1 3 3.40130224 -0.60210473 1.54545455 -0.11570248 3.399
2 3.40130224 3.39525719 0.00907948 1.50133954 -0.10394498 0.17804403 3.398
3 3.39525719 3.39525592 1.89969E-06 1.50196845 -0.10412831 3.72519E-05 3.397
4 3.39525592 3.39525592 8.34888E-14 1.50196858 -0.10412835 1.63496E-12
3.396
5 3.39525592 3.39525592 0 1.50196858 -0.10412835 0
3.395
6 3.39525592 3.39525592 0 1.50196858 -0.10412835 0
3.394
7 3.39525592 3.39525592 0 1.50196858 -0.10412835 0
3.393
3.392
0 1 2
Tabla 4
d.- Metodo de Von Mises
Iteración Xi Xi+1 F(Xi) F´(xi) % Error
1 3 3.38959718 -0.60210473 1.54545455
2 3.38959718 3.39509778 -0.00850093 0.16201598 Xi+1
2 3.39509778 3.39525147 -0.00023753 0.00452683 3.396
2 3.39525147 3.3952558 -6.6824E-06 0.00012735 3.395
2 3.3952558 3.39525592 -1.8803E-07 3.58338E-06 3.394
2 3.39525592 3.39525592 -5.2907E-09 1.00829E-07 3.393
2 3.39525592 3.39525592 -1.4887E-10 2.83713E-09 3.392
2 3.39525592 3.39525592 -4.1886E-12 7.98254E-11 3.391
2 3.39525592 3.39525592 -1.1813E-13 2.24971E-12 3.39
2 3.39525592 3.39525592 0 0 3.389
2 3.39525592 3.39525592 0 0
3.388
2 3.39525592 3.39525592 0 0
3.387
2 3.39525592 3.39525592 0 0
3.386
2 3.39525592 3.39525592 0 0 0 2 4 6 8
+1

8 10 12 14

Chart Title

2 4 6 8 10 12
2 4 6 8 10 12

Xi+1
3.402
3.401
3.4
3.399
3.398
3.397
3.396
3.395
3.394
3.393
3.392
0 1 2 3 4 5 6 7 8

Xi+1

2 4 6 8 10 12 14 16
Practica # 4
Aplicando los métodos de intervalos abiertos determiar la solución de las siguientes funciónes,
Metodos Abiertos
a.- Punto Fijo. Para las funciónes
b.-Metodo Newton Raphson a.- F(X) = Ln(X^2+2) + X -6
C.- Metodo de Newton RaphsonModificado b.- F(X) = 2*X^3 - 9*X^2 +12*X -3
c.- F(X) = X^10 - 1
X -10 X1 -1 d.- F(X) = X^4 -3*X^2
Δx 1 Δx 0.2
a.- Metodo Grafico b.- F(X) = 2*X^3 - 9*X^2 +12*X -3
Xi F(Xi) Xi F(Xi)
-10 -3023 -1 -26
-9 -2298 -0.8 -19.384 F(Xi)
-8 -1699 -0.6 -13.872 10
-7 -1214 -0.4 -9.368
-6 -831 -0.2 -5.776 5

-5 -538 0 -3 0
-1.5 -1 -0.5 0 0.5 1 1.5
-4 -323 0.2 -0.944
-5
-3 -174 0.4 0.488
-2 -79 0.6 1.392 -10
-1 -26 0.8 1.864 -15
0 -3 1 2
-20
1 2 1.2 1.896
2 1 1.4 1.648 -25
3 6 1.6 1.352 -30
4 29 1.8 1.104
5 82 2 1
6 177 2.2 1.136
7 326 2.4 1.608
8 541 2.6 2.512
9 834 2.8 3.944
10 1217 3 6

X 0
a.- Punto Fijo. b.- F(X) = 2*X^3 - 9*X^2 +12*X -3

Tabla 1
Iteraciones Xi Xi+1 % error
1 0 0.25
2 0.25 0.29427083 15.0442478 Xi+1
3 0.29427083 0.31069941 5.28761203 0.35
4 0.31069941 0.31740174 2.11162408
0.3
5 0.31740174 0.32022852 0.88273717
6 0.32022852 0.32143669 0.37586452 0.25
7 0.32143669 0.32195594 0.1612793
0.2

0.15

0.1
0.3

0.25

0.2
8 0.32195594 0.32217963 0.06943091
9 0.32217963 0.32227609 0.02993228 0.15
10 0.32227609 0.32231771 0.01291191
0.1
11 0.32231771 0.32233567 0.00557128
12 0.32233567 0.32234342 0.00240419 0.05
13 0.32234342 0.32234676 0.00103753
0
14 0.32234676 0.32234821 0.00044776 0 5 10 15 20
15 0.32234821 0.32234883 0.00019324
16 0.32234883 0.3223491 8.33957E-05
17 0.3223491 0.32234921 3.5991E-05
18 0.32234921 0.32234926 1.55326E-05
19 0.32234926 0.32234928 6.70339E-06
20 0.32234928 0.32234929 2.89298E-06

b.-Metodo Newton Raphson b.- F(X) = 2*X^3 - 9*X^2 +12*X -3 Xi+

Tabla 2 0.35
Iteración Xi Xi+1 F(Xi) F´(xi) % Error
1 0 0.25 -3 12 0.3
2 0.25 0.31746032 -0.53125 7.875 21.25 0.25
3 0.31746032 0.32232472 -0.0335177 6.8904006 1.50916284
4 0.32232472 0.3223493 -0.00016766 6.82151436 0.0076247 0.2
5 0.3223493 0.3223493 -4.2685E-09 6.82116702 1.94128E-07 0.15
6 0.3223493 0.3223493 0 6.82116701 0
7 0.3223493 0.3223493 0 6.82116701 0 0.1
8 0.3223493 0.3223493 0 6.82116701 0 0.05
9 0.3223493 0.3223493 0 6.82116701 0
0
0 1 2 3 4

C.- Metodo de Newton RaphsonModificado b.- F(X) = 2*X^3 - 9*X^2 +12*X -3

Tabla 3
Iteración Xi Xi+1 F(Xi) F´(xi) F''(Xi) % error
1 0 0.4 -3 12 -18
2 0.4 0.32905258 0.488 5.76 -13.2 21.5611193 0.45
3 0.32905258 0.32239614 0.04540729 6.72670715 -14.051369 2.06467729 0.4
4 0.32239614 0.3223493 0.00031948 6.8205051 -14.1312463 0.01452996
0.35
5 0.3223493 0.3223493 1.55028E-08 6.82116698 -14.1318084 7.05059E-07
0.3
6 0.3223493 0.3223493 0 6.82116701 -14.1318084 0
7 0.3223493 0.3223493 0 6.82116701 -14.1318084 0 0.25

8 0.3223493 0.3223493 0 6.82116701 -14.1318084 0 0.2

9 0.3223493 0.3223493 0 6.82116701 -14.1318084 0 0.15
10 0.3223493 0.3223493 0 6.82116701 -14.1318084 0 0.1
0.05
0
0 2 4
0.25
0.2
0.15
0.1
11 0.3223493 0.3223493 0 6.82116701 -14.1318084 0
0.05
12 0.3223493 0.3223493 0 6.82116701 -14.1318084 0
0
0 2 4

d.- Metodo der Von Mises b.- F(X) = 2*X^3 - 9*X^2 +12*X -3
Tabla 4
Iteración Xi Xi+1 F(Xi) F´(xi) % Error
1 0 0.25 -3 12
2 0.25 0.29427083 -0.53125 15.0442478
3 0.29427083 0.31069941 -0.19714295 5.28761203
Xi+1
4 0.31069941 0.31740174 -0.08042798 2.11162408
5 0.31740174 0.32022852 -0.03392131 0.88273717 0.35

6 0.32022852 0.32143669 -0.014498 0.37586452 0.3

7 0.32143669 0.32195594 -0.00623098 0.1612793
8 0.32195594 0.32217963 -0.00268431 0.06943091 0.25

9 0.32217963 0.32227609 -0.00115757 0.02993228 0.2

10 0.32227609 0.32231771 -0.00049941 0.01291191
11 0.32231771 0.32233567 -0.0002155 0.00557128 0.15

12 0.32233567 0.32234342 -9.2997E-05 0.00240419 0.1

13 0.32234342 0.32234676 -4.0134E-05 0.00103753
14 0.32234676 0.32234821 -1.732E-05 0.00044776 0.05

15 0.32234821 0.32234883 -7.4748E-06 0.00019324 0

16 0.32234883 0.3223491 -3.2259E-06 8.33957E-05 0 5 10 15

17 0.3223491 0.32234921 -1.3922E-06 3.5991E-05

18 0.32234921 0.32234926 -6.0083E-07 1.55326E-05
19 0.32234926 0.32234928 -2.593E-07 6.70339E-06
20 0.32234928 0.32234929 -1.1191E-07 2.89298E-06
21 0.32234929 0.3223493 -4.8295E-08 1.24852E-06
22 0.3223493 0.3223493 -2.0843E-08 5.38823E-07
23 0.3223493 0.3223493 -8.9951E-09 2.3254E-07
24 0.3223493 0.3223493 -3.882E-09 1.00357E-07
25 0.3223493 0.3223493 -1.6754E-09 4.3311E-08
26 0.3223493 0.3223493 -7.2303E-10 1.86917E-08
27 0.3223493 0.3223493 -3.1204E-10 8.06678E-09
28 0.3223493 0.3223493 -1.3467E-10 3.48138E-09
29 0.3223493 0.3223493 -5.8118E-11 1.50245E-09
F(Xi)
10

0
0 0.5 1 1.5 2 2.5 3 3.5
-5

-10

-15

-20

-25

-30

Xi+1
15 20 25

Xi+1

1 2 3 4 5 6 7 8 9 10

Xi+1
0.45
0.4
0.35
0.3
0.25
0.2
0.15
0.1
0.05
0
0 2 4 6 8 10 12 14
0.25
0.2
0.15
0.1
0.05
0
0 2 4 6 8 10 12 14

Xi+1

5 10 15 20 25 30 35
Practica # 4
Aplicando los métodos de intervalos abiertos determiar la solución de las siguientes funciónes,
Metodos Abiertos
a.- Punto Fijo. Para las funciónes
b.-Metodo Newton Raphson a.- F(X) = Ln(X^2+2) + X -6
C.- Metodo de Newton RaphsonModificado b.- F(X) = 2*X^3 - 9*X^2 +12*X -3
c.- F(X) = X^10 - 1
d.- F(X) = X^4 -3*X^2

a.- Punto Fijo. a.- F(X) = Ln(X^2+2) + X -6

X 50

Tabla 1
Iteraciones Xi Xi+1 % error
1 50 -1.82484569
2 -1.82484569 4.32663717 142.176998 5

3 4.32663717 2.96891076 45.7314659 4 Xi+1

4 2.96891076 3.61911855 17.9659158 3
5 3.61911855 3.28543645 10.1564008
2
6 3.28543645 3.45101644 4.79800643
7 3.45101644 3.3674269 2.48229729 1
8 3.3674269 3.40926565 1.22720717 0
9 3.40926565 3.38823369 0.62073536 0 5 10 15 20
-1
10 3.38823369 3.39878344 0.31039782
11 3.39878344 3.39348587 0.15610981 -2
12 3.39348587 3.3961446 0.07828661 -3
13 3.3961446 3.39480988 0.03931646
14 3.39480988 3.39547983 0.01973083
15 3.39547983 3.39514353 0.00990547
16 3.39514353 3.39531234 0.00497193
17 3.39531234 3.3952276 0.00249583
18 3.3952276 3.39527014 0.00125281
19 3.39527014 3.39524879 0.00062888
20 3.39524879 3.39525951 0.00031567

Xi+1
b.-Metodo Newton Raphson a.- F(X) = Ln(X^2+2) + X -6 5
Tabla 2 4.5
Iteraciones Xi Xi+1 F(Xi) F´(Xi) % Error 4
1 50 0.1668855 51.8248457 1.03996803 3.5
2 0.1668855 4.5685399 -5.126138 1.16459348 385.388285 3
3 4.5685399 3.35493528 1.69843398 1.39949532 144.694847 2.5
4 3.35493528 3.39519929 -0.06064531 1.50619174 4.74363972 2
5 3.39519929 3.39525592 -8.5067E-05 1.50197448 0.00667245
1.5
6 3.39525592 3.39525592 -1.6701E-10 1.50196858 1.30998E-08
1
0.5
0
0 1 2 3 4
2.5
2
1.5
1
7 3.39525592 3.39525592 0 1.50196858 0
0.5
0
0 1 2 3 4

C.- Metodo de Newton RaphsonModificado a.- F(X) = Ln(X^2+2) + X -6

Tabla 3
Iteraciones Xi Xi+1 F(Xi) F´(Xi) F´´(Xi) % Error 4
1 50 2.00384624 51.8248457 1.03996803 -0.00079872
3.5
2 2.00384624 3.60755395 -2.20183095 1.66623876 -0.22193704 44.4541574
3 3.60755395 3.39724305 0.31656672 1.48054441 -0.11546147 6.19063446 3

4 3.39724305 3.39525612 0.0029844 1.50176172 -0.12588241 0.05852088 2.5

5 3.39525612 3.39525592 2.9159E-07 1.50196856 -0.12598622 5.71793E-06
2
6 3.39525592 3.39525592 0 1.50196858 -0.12598623 0
7 3.39525592 3.39525592 0 1.50196858 -0.12598623 0 1.5

0.5

d.-Metodo de Von Mises a.- F(X) = Ln(X^2+2) + X -6 0

0 1 2
Tabla 4
Iteraciones Xi Xi+1 F(Xi) F´(Xi) % Error
1 50 0.1668855 51.8248457 1.03996803
2 0.1668855 5.09601589 -5.126138 386.900708
Xi+
3 5.09601589 2.76216899 2.42712616 337.973081 6
4 2.76216899 3.69776666 -0.97299166 101.206783
5
5 3.69776666 3.26531427 0.44973666 52.9752855
6 3.26531427 3.45383781 -0.19605845 21.8335138
4
7 3.45383781 3.36940205 0.08781049 10.023827
8 3.36940205 3.40677492 -0.0388666 4.3880651 3
9 3.40677492 3.3901453 0.01729428 1.96211337
10 3.3901453 3.3975276 -0.00767736 0.86913782 2
11 3.3975276 3.394247 0.00341172 0.38660701
1

0
0 2 4 6
i+1

15 20 25

Xi+1

1 2 3 4 5 6 7 8
1 2 3 4 5 6 7 8

Xi+1
4

3.5

2.5

1.5

0.5

0
0 1 2 3 4 5 6 7 8

Xi+1

2 4 6 8 10 12
Practica # 4
Aplicando los métodos de intervalos abiertos determiar la solución de las siguientes funciónes,
Metodos Abiertos
a.- Punto Fijo. Para las funciónes
b.-Metodo Newton Raphson a.- F(X) = Ln(X^2+2) + X -6
C.- Metodo de Newton RaphsonModificado b.- F(X) = 2*X^3 - 9*X^2 +12*X -3
d.- Metodo de Von Mises c.- F(X) = X^10 - 1
d.- F(X) = X^4 -3*X^2

a.- Metodo Grafico

X -10 X -1
ΔX 1 ΔX 0.2

X F(Xi) X F(Xi)
-10 -3023 -1 -26
-9 -2298 -0.8 -19.384 F(Xi)
-8 -1699 -0.6 -13.872 5
-7 -1214 -0.4 -9.368
0
-6 -831 -0.2 -5.776 -1.5 -1 -0.5 0 0.5 1 1.5
-5 -538 0 -3 -5
-4 -323 0.2 -0.944
-3 -174 0.4 0.488 -10
-2 -79 0.6 1.392
-15
-1 -26 0.8 1.864
0 -3 1 2 -20
1 2 1.2 1.896
-25
2 1 1.4 1.648
3 6 1.6 1.352 -30
4 29 1.8 1.104
5 82 2 1
6 177 2.2 1.136
7 326 2.4 1.608
8 541 2.6 2.512
9 834
10 1217

a.- Punto Fijo. b.- F(X) = 2*X^3 - 9*X^2 +12*X -3

X -2
Tabla 2
Iteración Xi Xi+1 % Error
1 -2 4.58333333
2 4.58333333 -0.04176312 11074.5958
3 -0.04176312 0.25132026 116.617489 Xi+1
4 0.25132026 0.29472576 14.7274206 5

3
Xi+1
5
5 0.29472576 0.31088065 5.19649168
6 0.31088065 0.31747748 2.07788994 4
7 0.31747748 0.32026077 0.86906881
3
8 0.32026077 0.32145052 0.37012117
9 0.32145052 0.32196189 0.15882883
2
10 0.32196189 0.3221822 0.06837855
11 0.3221822 0.3222772 0.02947907 1
12 0.3222772 0.32231819 0.0127165
13 0.32231819 0.32233587 0.00548698 0
0 2 4 6 8 10 12 14 16 1
14 0.32233587 0.32234351 0.00236781
15 0.32234351 0.3223468 0.00102184 -1
16 0.3223468 0.32234822 0.00044099
17 0.32234822 0.32234884 0.00019032
18 0.32234884 0.3223491 8.2134E-05

b.-Metodo Newton Raphson b.- F(X) = 2*X^3 - 9*X^2 +12*X -3

Tabla 3
Iteraciones Xi Xi+1 F(Xi) F´(Xi) % Error
Xi+1
1 -2 -0.90277778 -79 72
2 -0.90277778 -0.21961807 -22.6399445 33.1400463 1244.2687 0.4

3 -0.21961807 0.15536634 -6.09069092 16.2425178 965.419925 0.2

4 0.15536634 0.29928132 -1.3453515 9.34823802 192.347426
5 0.29928132 0.32181659 -0.16113506 7.15035202 28.0100696 0
0 2 4 6
6 0.32181659 0.32234901 -0.00363574 6.82869692 0.66067531
-0.2
7 0.32234901 0.3223493 -2.0036E-06 6.82117116 0.00036449
8 0.3223493 0.3223493 -6.0929E-13 6.82116701 1.10833E-10 -0.4
9 0.3223493 0.3223493 0 6.82116701 0
-0.6
10 0.3223493 0.3223493 0 6.82116701 0
-0.8

-1

C.- Metodo de Newton RaphsonModificado b.- F(X) = 2*X^3 - 9*X^2 +12*X -3

Tabla 3
Iteraciones Xi Xi+1 F(Xi) F´(Xi) F´´(Xi) % Error
1 -10 11.3847704 -11.3750272 0.80392157 -0.01922338
2 11.3847704 3.51287341 10.2646362 1.17300374 -0.01496515 224.087125
F(Xi)
5

0
0 0.5 1 1.5 2 2.5 3
-5

-10

-15

-20

-25

-30

i+1
i+1

10 12 14 16 18 20

Xi+1

2 4 6 8 10 12