You are on page 1of 2

GAUSS SEIDEL METHOD

GIVEN:
B C 4D 1.8 Iax13I ≥ Iax12I+Iax14I+Iax11I - 4=4 eq1
4A B C 0.5 Iax21I ≥ Iax22I+Iax23I+Iax24I - 4=4 eq2
A AB D 1.3 Iax32I ≥ Iax31I+Iax33I+Iax34I - 4=4 eq3
A 4C D 1 Iax43I ≥ Iax41I+Iax42I+Iax44I - 4=4 eq4

ITERATION A B C D %e_a %e_b %e_c


0 10 10 10 10 -- -- --
1 5.125 4.10625 4.03125 2.484375 48.75 58.9375 59.6875
2 2.159375 1.485938 1.410938 1.174219 57.86585 63.81279 65
3 0.849219 0.830859 0.755859 0.84668 60.67294 44.08517 46.42857
4 0.52168 0.66709 0.59209 0.764795 38.56946 19.71086 21.66667
5 0.439795 0.626147 0.551147 0.744324 15.69637 6.137462 6.914894
6 0.419324 0.615912 0.540912 0.739206 4.654713 1.634694 1.857143
7 0.414206 0.613353 0.538353 0.737926 1.220488 0.415465 0.473071
8 0.412926 0.612713 0.537713 0.737607 0.308892 0.1043 0.11883
9 0.412607 0.612553 0.537553 0.737527 0.077462 0.026102 0.029743
10 0.412527 0.612513 0.537513 0.737507 0.019381 0.006527 0.007438
11 0.412507 0.612503 0.537503 0.737502 0.004846 0.001632 0.00186
12 0.412502 0.612501 0.537501 0.7375 0.001212 0.000408 0.000465
13 0.4125 0.6125 0.5375 0.7375 0.000303 0.000102 0.000116
14 0.4125 0.6125 0.5375 0.7375 7.57E-05 2.55E-05 2.91E-05
15 0.4125 0.6125 0.5375 0.7375 1.89E-05 6.37E-06 7.26E-06
16 0.4125 0.6125 0.5375 0.7375 4.73E-06 1.59E-06 1.82E-06
INITIAL VALUES

4A B C 0D 0.5 A= 10
A 4B 0C D 1.3 B= 10
A 0B 4C D 1 C= 10
0A C C 4D 1.8 D= 10

%e_d
-- GET THE VALUE OF a,b,c and d:
75.15625
A = (0.5 + Bk + Ck - 0Dk)/4
52.73585
B = (1.3 + Ak+1 - 0Ck + Dk)/4
27.89421
C = (1 + Ak+1 - 0Bk+1 + Dk)/4
9.67128
D = (1.8 - 0Ak+1 + Bk+1 + Ck+1)/4
2.67669
0.687577
0.173084
0.043346
0.010841
CONCLUSION:
0.002711
0.000678
Therefore, the computation stops at the 16th iteration.
0.000169 Considering the tolerance of 0.05%, the approximate root
4.24E-05 are x= 0.4125,0.6125,0.5375 and 0.7375 as compared with
1.06E-05 t h e e x a c t v a l u e a t
2.65E-06 x=0.412501666,0.612500833,0.537500833,0.737500416
6.62E-07

You might also like