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

Nama : Miftahul Ulfa

Nim : 1407113349
Teknik Kimia S-1 B
Tugas Metode Numerik

SOAL
tentukan nilai X1, X2 dan x3 dengan menggunakan metode gauss seidel

3X1 + X2 - X3 = 1 x1 = (1 - x2 + x3)/3
2X1 + 4X2 + X3 = 5 x2 = (5 - 2x1 -x3)/4
(-x1 ) + 5x2 +8x3 = 5 x3 = (5 + x1 - 5x2)/8

iterasi ke x1 x2 x3 hitx1 hitx2 hitx3


1 0 0 0 0.3333333 1.25 0.625
2 0.3333333 1.25 0.625 0.125 0.9270833 -0.1979166667
3 0.125 0.9270833 -0.197917 -0.041667 1.2369792 0.0299479167
4 -0.041667 1.2369792 0.0299479 -0.06901 1.2633464 -0.1429036458
5 -0.06901 1.2633464 -0.142904 -0.135417 1.3202311 -0.1559651693
6 -0.135417 1.3202311 -0.155965 -0.158732 1.3566996 -0.1832173665
7 -0.158732 1.3566996 -0.183217 -0.179972 1.3751704 -0.203095754
8 -0.179972 1.3751704 -0.203096 -0.192755 1.3907601 -0.2119849523
9 -0.192755 1.3907601 -0.211985 -0.200915 1.3993739 -0.2201306423
10 -0.200915 1.3993739 -0.220131 -0.206502 1.4054902 -0.2244943281
11 -0.206502 1.4054902 -0.224494 -0.209995 1.4093743 -0.2276186657
12 -0.209995 1.4093743 -0.227619 -0.212331 1.4119021 -0.2296096108
13 -0.212331 1.4119021 -0.22961 -0.213837 1.4135679 -0.2308974263
14 -0.213837 1.4135679 -0.230897 -0.214822 1.414643 -0.2317502863
15 -0.214822 1.414643 -0.23175 -0.215464 1.4153485 -0.2322991355
16 -0.215464 1.4153485 -0.232299 -0.215883 1.415807 -0.2326597351
17 -0.215883 1.415807 -0.23266 -0.216156 1.4161062 -0.2328940545
18 -0.216156 1.4161062 -0.232894 -0.216333 1.4163013 -0.2330469278
19 -0.216333 1.4163013 -0.233047 -0.216449 1.4164284 -0.2331466363
20 -0.216449 1.4164284 -0.233147 -0.216525 1.4165114 -0.2332115994
21 -0.216525 1.4165114 -0.233212 -0.216574 1.4165654 -0.2332539743
22 -0.216574 1.4165654 -0.233254 -0.216606 1.4166007 -0.2332815928
23 -0.216606 1.4166007 -0.233282 -0.216627 1.4166236 -0.233299601
24 -0.216627 1.4166236 -0.2333 -0.216641 1.4166386 -0.2333113414
25 -0.216641 1.4166386 -0.233311 -0.21665 1.4166484 -0.2333189955
26 -0.21665 1.4166484 -0.233319 -0.216656 1.4166547 -0.2333239857
27 -0.216656 1.4166547 -0.233324 -0.21666 1.4166589 -0.2333272391
28 -0.21666 1.4166589 -0.233327 -0.216662 1.4166616 -0.2333293601
29 -0.216662 1.4166616 -0.233329 -0.216664 1.4166634 -0.233330743
30 -0.216664 1.4166634 -0.233331 -0.216665 1.4166645 -0.2333316445
31 -0.216665 1.4166645 -0.233332 -0.216665 1.4166653 -0.2333322323
32 -0.216665 1.4166653 -0.233332 -0.216666 1.4166658 -0.2333326155
33 -0.216666 1.4166658 -0.233333 -0.216666 1.4166661 -0.2333328653
34 -0.216666 1.4166661 -0.233333 -0.216666 1.4166663 -0.2333330282
35 -0.216666 1.4166663 -0.233333 -0.216666 1.4166664 -0.2333331344
36 -0.216666 1.4166664 -0.233333 -0.216667 1.4166665 -0.2333332036
37 -0.216667 1.4166665 -0.233333 -0.216667 1.4166666 -0.2333332488
38 -0.216667 1.4166666 -0.233333 -0.216667 1.4166666 -0.2333332782
39 -0.216667 1.4166666 -0.233333 -0.216667 1.4166666 -0.2333332974
40 -0.216667 1.4166666 -0.233333 -0.216667 1.4166666 -0.2333333099
41 -0.216667 1.4166666 -0.233333 -0.216667 1.4166666 -0.2333333181
42 -0.216667 1.4166666 -0.233333 -0.216667 1.4166667 -0.2333333234
43 -0.216667 1.4166667 -0.233333 -0.216667 1.4166667 -0.2333333268
44 -0.216667 1.4166667 -0.233333 -0.216667 1.4166667 -0.2333333291
45 -0.216667 1.4166667 -0.233333 -0.216667 1.4166667 -0.2333333306
46 -0.216667 1.4166667 -0.233333 -0.216667 1.4166667 -0.2333333315
47 -0.216667 1.4166667 -0.233333 -0.216667 1.4166667 -0.2333333322
48 -0.216667 1.4166667 -0.233333 -0.216667 1.4166667 -0.2333333326
49 -0.216667 1.4166667 -0.233333 -0.216667 1.4166667 -0.2333333328
50 -0.216667 1.4166667 -0.233333 -0.216667 1.4166667 -0.233333333
ralatx1 ralatx2 ralatx3 x1 x2 x3 hit 1
0.3333333 1.25 0.625 0 0 0 0.3333333
0.2083333 0.3229167 0.8229167 0.3333333 1.25 0.625 0.125
0.1666667 0.3098958 0.2278646 0.125 0.9270833 -0.114583 -0.013889
0.0273438 0.0263672 0.1728516 -0.013889 1.2161458 0.0611979 -0.051649
0.0664063 0.0568848 0.0130615 -0.051649 1.241645 -0.136827 -0.126157
0.0233154 0.0364685 0.0272522 -0.126157 1.3100315 -0.157484 -0.155839
0.0212402 0.0184708 0.0198784 -0.155839 1.3524498 -0.209539 -0.18733
0.0127831 0.0155897 0.0088892 -0.18733 1.3803041 -0.239761 -0.206688
0.0081596 0.0086138 0.0081457 -0.206688 1.4036051 -0.261106 -0.22157
0.0055865 0.0061162 0.0043637 -0.22157 1.4186207 -0.278089 -0.232237
0.0034933 0.0038842 0.0031243 -0.232237 1.4303075 -0.289334 -0.239881
0.0023362 0.0025277 0.0019909 -0.239881 1.4384519 -0.297972 -0.245475
0.0015062 0.0016658 0.0012878 -0.245475 1.4444332 -0.304018 -0.249484
0.0009845 0.0010751 0.0008529 -0.249484 1.4487417 -0.308455 -0.252399
0.0006426 0.0007055 0.0005488 -0.252399 1.4518556 -0.311649 -0.254502
0.0004181 0.0004585 0.0003606 -0.254502 1.4541117 -0.31396 -0.256024
0.000273 0.0002992 0.0002343 -0.256024 1.4557407 -0.315633 -0.257124
0.0001778 0.0001951 0.0001529 -0.257124 1.45692 -0.316841 -0.25792
0.000116 0.0001271 9.971E-05 -0.25792 1.4577724 -0.317716 -0.258496
7.562E-05 8.292E-05 6.496E-05 -0.258496 1.458389 -0.318348 -0.258912
4.93E-05 5.405E-05 4.237E-05 -0.258912 1.4588349 -0.318805 -0.259213
3.214E-05 3.524E-05 2.762E-05 -0.259213 1.4591574 -0.319136 -0.259431
2.095E-05 2.298E-05 1.801E-05 -0.259431 1.4593907 -0.319375 -0.259589
1.366E-05 1.498E-05 1.174E-05 -0.259589 1.4595593 -0.319548 -0.259702
8.906E-06 9.766E-06 7.654E-06 -0.259702 1.4596813 -0.319673 -0.259785
5.807E-06 6.367E-06 4.99E-06 -0.259785 1.4597695 -0.319764 -0.259844
3.786E-06 4.151E-06 3.253E-06 -0.259844 1.4598333 -0.319829 -0.259887
2.468E-06 2.706E-06 2.121E-06 -0.259887 1.4598794 -0.319876 -0.259919
1.609E-06 1.764E-06 1.383E-06 -0.259919 1.4599128 -0.319911 -0.259941
1.049E-06 1.15E-06 9.016E-07 -0.259941 1.4599369 -0.319935 -0.259957
6.839E-07 7.499E-07 5.878E-07 -0.259957 1.4599544 -0.319953 -0.259969
4.459E-07 4.889E-07 3.832E-07 -0.259969 1.459967 -0.319966 -0.259978
2.907E-07 3.187E-07 2.498E-07 -0.259978 1.4599762 -0.319976 -0.259984
1.895E-07 2.078E-07 1.629E-07 -0.259984 1.4599828 -0.319982 -0.259988
1.236E-07 1.355E-07 1.062E-07 -0.259988 1.4599875 -0.319987 -0.259992
8.056E-08 8.833E-08 6.923E-08 -0.259992 1.459991 -0.319991 -0.259994
5.252E-08 5.759E-08 4.514E-08 -0.259994 1.4599935 -0.319993 -0.259996
3.424E-08 3.754E-08 2.943E-08 -0.259996 1.4599953 -0.319995 -0.259997
2.232E-08 2.448E-08 1.919E-08 -0.259997 1.4599966 -0.319997 -0.259998
1.455E-08 1.596E-08 1.251E-08 -0.259998 1.4599975 -0.319997 -0.259998
9.489E-09 1.04E-08 8.155E-09 -0.259998 1.4599982 -0.319998 -0.259999
6.186E-09 6.783E-09 5.316E-09
4.033E-09 4.422E-09 3.466E-09
2.629E-09 2.883E-09 2.26E-09
1.714E-09 1.88E-09 1.473E-09
1.118E-09 1.225E-09 9.605E-10
7.286E-10 7.989E-10 6.262E-10
4.75E-10 5.209E-10 4.083E-10
3.097E-10 3.396E-10 2.662E-10
0.2166667 1.4166667 0.2333333
0 0 0 abaikan
hit 2 hit 3 ralatx1 ralatx2 ralatx3
1.25 0.625 0.3333333 1.25 0.625
0.9270833 -0.114583 0.2083333 0.3229167 0.7395833
1.2161458 0.0611979 0.1388889 0.2890625 0.1757813
1.241645 -0.136827 0.0377604 0.0254991 0.1980252
1.3100315 -0.157484 0.0745081 0.0683865 0.020657
1.3524498 -0.209539 0.0296812 0.0424183 0.0520551
1.3803041 -0.239761 0.0314911 0.0278544 0.0302216
1.4036051 -0.261106 0.0193586 0.023301 0.0213454
1.4186207 -0.278089 0.0148821 0.0150157 0.0169829
1.4303075 -0.289334 0.0106662 0.0116868 0.0112451
1.4384519 -0.297972 0.0076439 0.0081444 0.0086375
1.4444332 -0.304018 0.005594 0.0059814 0.0060457
1.4487417 -0.308455 0.004009 0.0043084 0.0044376
1.4518556 -0.311649 0.0029153 0.0031139 0.0031939
1.4541117 -0.31396 0.0021026 0.0022561 0.0023106
1.4557407 -0.315633 0.0015222 0.001629 0.0016729
1.45692 -0.316841 0.0011006 0.0011794 0.0012084
1.4577724 -0.317716 0.0007959 0.0008524 0.0008747
1.458389 -0.318348 0.0005757 0.0006166 0.0006322
1.4588349 -0.318805 0.0004163 0.0004459 0.0004574
1.4591574 -0.319136 0.0003011 0.0003225 0.0003307
1.4593907 -0.319375 0.0002177 0.0002332 0.0002392
1.4595593 -0.319548 0.0001575 0.0001687 0.000173
1.4596813 -0.319673 0.0001139 0.000122 0.0001251
1.4597695 -0.319764 8.236E-05 8.822E-05 9.047E-05
1.4598333 -0.319829 5.956E-05 6.38E-05 6.543E-05
1.4598794 -0.319876 4.308E-05 4.614E-05 4.732E-05
1.4599128 -0.319911 3.115E-05 3.337E-05 3.422E-05
1.4599369 -0.319935 2.253E-05 2.413E-05 2.475E-05
1.4599544 -0.319953 1.629E-05 1.745E-05 1.79E-05
1.459967 -0.319966 1.178E-05 1.262E-05 1.294E-05
1.4599762 -0.319976 8.522E-06 9.128E-06 9.361E-06
1.4599828 -0.319982 6.163E-06 6.601E-06 6.77E-06
1.4599875 -0.319987 4.457E-06 4.774E-06 4.896E-06
1.459991 -0.319991 3.223E-06 3.453E-06 3.541E-06
1.4599935 -0.319993 2.331E-06 2.497E-06 2.561E-06
1.4599953 -0.319995 1.686E-06 1.806E-06 1.852E-06
1.4599966 -0.319997 1.219E-06 1.306E-06 1.339E-06
1.4599975 -0.319997 8.818E-07 9.445E-07 9.686E-07
1.4599982 -0.319998 6.377E-07 6.83E-07 7.005E-07
1.4599987 -0.319999 0.2599983 1.4599982 0.3199982
0 0 0 abaikan

Оценить