Вы находитесь на странице: 1из 20

Metodo de Eliminacion de Gauss

Problema 5
x1 x2 x3
10 5 0
5 10 -1
0 -4 8
0 0 -1

1 0.5 0
0 1 -0.13333333
0 0 7.46666667
0 0 -1

x1: -0.85321101
x2: 2.90642202 1 0.5 0
x3: -0.20183486 0 1 -0.13333333
x4: -2.24036697 0 0 1
0 0 0
f1: 6
f2: 25
f3: -11
f4: -11
iminacion de Gauss

x4
0 6 1 0.5 0 0 0.6
0 25 0 7.5 -1 0 22
-1 -11 0 -4 8 -1 -11
5 -11 0 0 -1 5 -11

0 0.6 1 0.5 0 0 0.6


0 2.93333333 0 1 -0.13333333 0 2.93333333
-1 0.73333333 0 0 1 -0.13392857 0.09821429
5 -11 0 0 0 4.86607143 -10.9017857

0 0.6
0 2.93333333
-0.13392857 0.09821429
1 -2.24036697
Metodo de Gauss Jo

Problema 5
x1 x2 x3
10 5 0
5 10 -1
0 -4 8
0 0 -1

1 0 0.06666667
0 1 -0.13333333
0 0 7.46666667
0 0 -1
x1: -0.85321101
x2: 2.90642202
x3: -0.20183486 1 0 0
x4: -2.24036697 0 1 0
0 0 1
f1: 6 0 0 0
f2: 25
f3: -11
f4: -11
Metodo de Gauss Jordan

x4
0 6 1 0.5 0 0 0.6
0 25 0 7.5 -1 0 22
-1 -11 0 -4 8 -1 -11
5 -11 0 0 -1 5 -11

0 -0.86666667 1 0 0 0.00892857 -0.87321429


0 2.93333333 0 1 0 -0.01785714 2.94642857
-1 0.73333333 0 0 1 -0.13392857 0.09821429
5 -11 0 0 0 4.86607143 -10.9017857

0 -0.85321101
0 2.90642202
0 -0.20183486
1 -2.24036697
M

Problema 5
x1 x2 x3
10 5 0
5 10 -1
0 -4 8
0 0 -1

i x1 x2 x3
0 0 0 0
1 0.6 2.5 -1.375
2 -0.65 2.0625 -0.4
3 -0.43125 2.785 -0.653125
4 -0.7925 2.6503125 -0.2675
5 -0.72515625 2.8695 -0.34117188
6 -0.83475 2.82846094 -0.2219375
7 -0.81423047 2.89518125 -0.24429883
8 -0.84759063 2.88268535 -0.20795781
9 -0.84134268 2.90299953 -0.21476479
10 -0.85149977 2.89919486 -0.20369918
11 -0.84959743 2.90537996 -0.20577169
12 -0.85268998 2.90422155 -0.2024025
13 -0.85211077 2.90610474 -0.20303352
14 -0.85305237 2.90575203 -0.20200769
15 -0.85287602 2.90632542 -0.20219982
16 -0.85316271 2.90621803 -0.20188748
17 -0.85310901 2.90639261 -0.20194598
18 -0.8531963 2.90635991 -0.20185088
19 -0.85317995 2.90641306 -0.2018687
20 -0.85320653 2.90640311 -0.20183974
21 -0.85320155 2.90641929 -0.20184516
22 -0.85320965 2.90641626 -0.20183635
23 -0.85320813 2.90642119 -0.201838
24 -0.85321059 2.90642027 -0.20183531
25 -0.85321013 2.90642177 -0.20183582
26 -0.85321088 2.90642148 -0.201835
27 -0.85321074 2.90642194 -0.20183515
28 -0.85321097 2.90642186 -0.2018349
Metodo de Jacobi

x4
0 6
0 25
-1 -11
5 -11

Ea
x4 x1 x2 x3 x4 |A|
0 0 0 0 0
-2.2 3.652482 5.130424 6.811204 9.533854 3.652482 No Converge
-2.475 1.667380 2.271186 3.625206 4.726741 1.667380 No Converge
-2.28 0.819729 1.158713 1.434645 2.606280 0.819729 No Converge
-2.330625 0.547642 0.493398 0.817279 0.948883 0.547642 No Converge
-2.2535 0.252892 0.382488 0.332498 0.583215 0.252892 No Converge
-2.26823438 0.167717 0.152882 0.272777 0.252502 0.167717 No Converge
-2.2443875 0.077080 0.117198 0.102748 0.197401 0.077080 No Converge
-2.24885977 0.051085 0.046611 0.083660 0.077734 0.051085 No Converge
-2.24159156 0.023471 0.035699 0.031318 0.060615 0.023471 No Converge
-2.24295296 0.015555 0.014193 0.025485 0.023686 0.015555 No Converge
-2.24073984 0.007146 0.010870 0.009536 0.018466 0.007146 No Converge
-2.24115434 0.004736 0.004321 0.007760 0.007212 0.004736 No Converge
-2.2404805 0.002176 0.003310 0.002904 0.005623 0.002176 No Converge
-2.2406067 0.001442 0.001316 0.002363 0.002196 0.001442 No Converge
-2.24040154 0.000662 0.001008 0.000884 0.001712 0.000662 No Converge
-2.24043996 0.000439 0.000401 0.000719 0.000669 0.000439 No Converge
-2.2403775 0.000202 0.000307 0.000269 0.000521 0.000202 No Converge
-2.2403892 0.000134 0.000122 0.000219 0.000204 0.000134 No Converge
-2.24037018 0.000061 0.000093 0.000082 0.000159 0.000061 No Converge
-2.24037374 0.000041 0.000037 0.000067 0.000062 0.000041 No Converge
-2.24036795 0.000019 0.000028 0.000025 0.000048 0.000019 No Converge
-2.24036903 0.000012 0.000011 0.000020 0.000019 0.000012 No Converge
-2.24036727 0.000006 0.000009 0.000008 0.000015 0.000006 No Converge
-2.2403676 0.000004 0.000003 0.000006 0.000006 0.000004 No Converge
-2.24036706 0.000002 0.000003 0.000002 0.000004 0.000002 No Converge
-2.24036716 0.000001 0.000001 0.000002 0.000002 0.000001 No Converge
-2.240367 0.000001 0.000001 0.000001 0.000001 0.000001 Converge
-2.24036703 0.000000 0.000000 0.000001 0.000001 0.000000 Converge
Met
Problema 5
x1 x2 x3
10 5 0
5 10 -1
0 -4 8
0 0 -1

i x1 x2 x3
0 0 0 0
1 0.6 2.2 -0.275
2 -0.5 2.7225 -0.295625
3 -0.76125 2.8510625 -0.23185938
4 -0.82553125 2.88957969 -0.21100664
5 -0.84478984 2.90129426 -0.20462804
6 -0.85064713 2.90486076 -0.20268532
7 -0.85243038 2.90594666 -0.2020938
8 -0.85297333 2.90627728 -0.2019137
9 -0.85313864 2.90637795 -0.20185887
10 -0.85318898 2.9064086 -0.20184217
11 -0.8532043 2.90641793 -0.20183709
12 -0.85320897 2.90642077 -0.20183554
13 -0.85321039 2.90642164 -0.20183507
14 -0.85321082 2.9064219 -0.20183493
15 -0.85321095 2.90642198 -0.20183488
16 -0.85321099 2.90642201 -0.20183487
17 -0.853211 2.90642202 -0.20183486
18 -0.85321101 2.90642202 -0.20183486
19 -0.85321101 2.90642202 -0.20183486
Metodo de Gauss Seidel

x4
0 6
0 25
-1 -11
5 -11

Ea
x4 x1 x2 x3 x4 |A|
0 0 0 0 0
-2.255 3.218796 4.512350 5.990209 8.466970 3.218796 No Converge
-2.259125 1.217969 2.068033 3.158867 4.241994 1.217969 No Converge
-2.24637188 0.298343 0.930843 1.463947 2.238711 0.298343 No Converge
-2.24220133 0.077897 0.224794 0.739969 1.035018 0.077897 No Converge
-2.24092561 0.023461 0.056060 0.177417 0.589831 0.023461 No Converge
-2.24053706 0.007138 0.016825 0.042541 0.141412 0.007138 No Converge
-2.24041876 0.002173 0.005118 0.012731 0.032409 0.002173 No Converge
-2.24038274 0.000662 0.001558 0.003872 0.009667 0.000662 No Converge
-2.24037177 0.000201 0.000474 0.001179 0.002939 0.000201 No Converge
-2.24036843 0.000061 0.000144 0.000359 0.000895 0.000061 No Converge
-2.24036742 0.000019 0.000044 0.000109 0.000272 0.000019 No Converge
-2.24036711 0.000006 0.000013 0.000033 0.000083 0.000006 No Converge
-2.24036701 0.000002 0.000004 0.000010 0.000025 0.000002 No Converge
-2.24036699 0.000001 0.000001 0.000003 0.000008 0.000001 Converge
-2.24036698 0.000000 0.000000 0.000001 0.000002 0.000000 Converge
-2.24036697 0.000000 0.000000 0.000000 0.000001 0.000000 Converge
-2.24036697 0.000000 0.000000 0.000000 0.000000 0.000000 Converge
-2.24036697 0.000000 0.000000 0.000000 0.000000 0.000000 Converge
-2.24036697 0.000000 0.000000 0.000000 0.000000 0.000000 Converge
Metodo
Problema 5
x1 x2 x3
10 5 0
5 10 -1
0 -4 8
0 0 -1

i x1 x2 x3
0 0 0 0
1 0.6 2.2 -0.275
2 -0.5 2.7225 -0.295625
3 -0.76125 2.8510625 -0.23185938
4 -0.82553125 2.88957969 -0.21100664
5 -0.84478984 2.90129426 -0.20462804
6 -0.85064713 2.90486076 -0.20268532
7 -0.85243038 2.90594666 -0.2020938
8 -0.85297333 2.90627728 -0.2019137
9 -0.85313864 2.90637795 -0.20185887
10 -0.85318898 2.9064086 -0.20184217
11 -0.8532043 2.90641793 -0.20183709
12 -0.85320897 2.90642077 -0.20183554
13 -0.85321039 2.90642164 -0.20183507
14 -0.85321082 2.9064219 -0.20183493
15 -0.85321095 2.90642198 -0.20183488
16 -0.85321099 2.90642201 -0.20183487
17 -0.853211 2.90642202 -0.20183486
18 -0.85321101 2.90642202 -0.20183486
19 -0.85321101 2.90642202 -0.20183486
Metodo de Gauss Seidel S.O.R

x4 W
0 6 1.5
0 25
-1 -11
5 -11

x4 E1 E2 E3 E4 |A|
0 0 0 0 0
-2.255 0.900000 3.300000 -0.412500 -3.382500 5.802768 No Converge
-2.259125 -1.050000 2.983750 -0.305938 -2.261188 2.579663 No Converge
-2.24637188 -0.891875 2.915344 -0.199977 -2.239995 0.361066 No Converge
-2.24220133 -0.857672 2.908838 -0.200580 -2.240116 0.085325 No Converge
-2.24092561 -0.854419 2.907152 -0.201439 -2.240288 0.023762 No Converge
-2.24053706 -0.853576 2.906644 -0.201714 -2.240343 0.007211 No Converge
-2.24041876 -0.853322 2.906490 -0.201798 -2.240360 0.002195 No Converge
-2.24038274 -0.853245 2.906443 -0.201824 -2.240365 0.000668 No Converge
-2.24037177 -0.853221 2.906428 -0.201831 -2.240366 0.000203 No Converge
-2.24036843 -0.853214 2.906424 -0.201834 -2.240367 0.000062 No Converge
-2.24036742 -0.853212 2.906423 -0.201835 -2.240367 0.000019 No Converge
-2.24036711 -0.853211 2.906422 -0.201835 -2.240367 0.000006 No Converge
-2.24036701 -0.853211 2.906422 -0.201835 -2.240367 0.000002 No Converge
-2.24036699 -0.853211 2.906422 -0.201835 -2.240367 0.000001 Converge
-2.24036698 -0.853211 2.906422 -0.201835 -2.240367 0.000000 Converge
-2.24036697 -0.853211 2.906422 -0.201835 -2.240367 0.000000 Converge
-2.24036697 -0.853211 2.906422 -0.201835 -2.240367 0.000000 Converge
-2.24036697 -0.853211 2.906422 -0.201835 -2.240367 0.000000 Converge
-2.24036697 -0.853211 2.906422 -0.201835 -2.240367 0.000000 Converge
Iteraciones Jacobi Gauss Seidel
Gauss Seidel SOR
1 3.652482 3.218796 5.802768
2 1.667380 1.217969 2.579663
3 0.819729 0.298343 0.361066 7.000000

4 0.547642 0.077897 0.085325


5 0.252892 0.023461 0.023762 6.000000
6 0.167717 0.007138 0.007211
7 0.077080 0.002173 0.002195
5.000000
8 0.051085 0.000662 0.000668
9 0.023471 0.000201 0.000203
10 0.015555 0.000061 0.000062 4.000000
11 0.007146 0.000019 0.000019
12 0.004736 0.000006 0.000006 3.000000
13 0.002176 0.000002 0.000002
14 0.001442 0.000001 0.000001
2.000000
15 0.000662 0.000000 0.000000
16 0.000439 0.000000 0.000000
17 0.000202 0.000000 0.000000 1.000000
18 0.000134 0.000000 0.000000
19 0.000061 0.000000 0.000000
0.000000
20 0.000041 0.000000 0.000000 0 5 1
Jacobi
21 0.000019 0.000000 0.000000
22 0.000012 0.000000 0.000000
23 0.000006 0.000000 0.000000
24 0.000004 0.000000 0.000000
25 0.000002 0.000000 0.000000
26 0.000001 0.000000 0.000000
27 0.000001 0.000000 0.000000
28 0.000000 0.000000 0.000000
5 10 15 20 25 30
Jacobi Gauss Seidel Gauss Seidel SOR
Interpolacio
x √x x= 1.017349
1.00 1.00
1.01 1.005
1.02 1.01 lo= -0.015187
1.03 1.0149 l1= 0.075936
1.04 1.0198 l2= -0.151873
1.05 1.0247 l3= 0.151873
l4= -0.075936
l5= 0.015187
l(√1.035)= -0.000005
Interpolacion de Lagrange
Diferencias Div
x √x x= 1.0173494975
1.00 1.00
1.01 1.005 0.500000
1.02 1.01 0.500000 0.000000
1.03 1.0149 0.490000 -0.500000 -16.666667
1.04 1.0198 0.490000 0.000000 16.666667 833.33333
1.05 1.0247 0.490000 0.000000 0.000000 -416.66667

Interpolacion con Difere

P(√1,035)= 1.008686
Diferencias Divididas de Newton

-25000.000

acion con Diferencias Divididas de Newton


Polinomio de Interpolacion Diferencia
x √x
1.00 1.00 1.00 x=
1.01 1.005 1.005 0.005000 h=
s=

P(√1,035)= 0.005173
polacion Diferencias Divididas de Newton

1.017349
0.5
0.034699
x √x
1.00 1.00
1.01 1.005
1.02 1.01
1.03 1.0149
1.04 1.0198
1.05 1.0247
1.017349 -0.000005

Оценить