0% found this document useful (0 votes)
198 views3 pages

Numerical - Jacobi and Gauss-Seidel Linear

1. The document describes using Jacobi's method and Gauss-Seidel iteration to solve a system of nonlinear equations. 2. It provides the starting points and shows the iterations used to calculate updated values for p, q, and r until convergence is reached. 3. The recursive formulas used in each method are presented to calculate the next iterate values based on the previous values.

Uploaded by

Bonifacio Saut
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
198 views3 pages

Numerical - Jacobi and Gauss-Seidel Linear

1. The document describes using Jacobi's method and Gauss-Seidel iteration to solve a system of nonlinear equations. 2. It provides the starting points and shows the iterations used to calculate updated values for p, q, and r until convergence is reached. 3. The recursive formulas used in each method are presented to calculate the next iterate values based on the previous values.

Uploaded by

Bonifacio Saut
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 3

LOBITANA, FRANCIS R.

BSME-3 EQUATIONS :
f 1 (x , y , z)=3 x+ y +z+2
JACOBI's METHOD f 2 (x , y , z )=2 x+3 y− z−1
f 3 ( x , y , z )=x + y+3 z−3
Starting Points:
x= 3
− y−z−2
y= -0.5 f 1 (x , y , z)−−¿ x=
3
z= -1 iterations
−2 x+z+1
f 2 (x , y , z )−−¿ y=
iterations p(k+1) q(k+1) r(k+1)
3
−x− y +3
1 -0.166666667 -2 0.1666666667 f 3 ( x , y , z )−−¿ z=
2 -0.055555556 0.5 1 3
3 -1.166666667 0.703703704 0.6851851852
4 -1.12962963 1.339506173 1.1604938272
RECURSIVE :
−q −r −2
5 -1.5 1.473251029 0.9897119342 pk +1 =g 1 ( p k , q k , r k )= k k
6 -1.487654321 1.663237311 1.1700960219 3
7 -1.6111111111 1.715134888 1.1058527663 −2 p k +r k +1
q k +1 =g1 ( pk , qk ,r k )=
8 -1.606995885 1.776024996 1.1684194483 3
9 -1.648148148 1.794137073 1.1461921455 − pk −qk +3
10 -1.646776406 1.814162814 1.1673186675 r k +1 =g1 ( p k , q k , r k )=
3
11 -1.660493827 1.820290493 1.1598192462
12 -1.66003658 1.826935633 1.166891527
13 -1.664609053 1.828988229 1.1643816843
14 -1.664456638 1.83119993 1.1667424564
15 -1.665980796 1.831885244 1.1659047271
16 -1.66592999 1.832622106 1.1666920228
17 -1.666438043 1.832850668 1.1664126558
18 -1.666421108 1.833096247 1.166675129
19 -1.666590459 1.833172448 1.1665819929
20 -1.666584814 1.833254303 1.1666694886
21 -1.666641264 1.833279705 1.1666384417
22 -1.666639382 1.83330699 1.1666676074
23 -1.666658199 1.833315457 1.1666572583
24 -1.666657572 1.833324552 1.1666669803
25 -1.666663844 1.833327375 1.1666635305
26 -1.666663635 1.833330406 1.1666667712
27 -1.666665726 1.833331347 1.1666656213
28 -1.666665656 1.833332358 1.1666667015
29 -1.666666353 1.833332671 1.1666663182
.
.
.
44 -1.666666667 1.833333333 1.1666666667
GAUSS - SEIDEL ITERATION EQUATIONS :
f 1 (x , y , z )=3 x+ y+z+2
Starting Points: f 2 (x , y , z )=2 x+3 y− z−1
x= 4
f 3 ( x , y , z )=x+ y+3 z−3
y= 2
z= 3
− y−z−2
f 1 (x , y , z )−−¿ x=
iterations p(k+1) q(k+1) r(k+1)
3
−2 x+z+1
1 -2.333333333 2.888888889 0.814814815 f 2 (x , y , z )−−¿ y=
2 -1.901234568 1.872427984 1.009602195 3
3 -1.627343393 1.754762993 0.9575268
−x− y+3
f 3 ( x , y , z )−−¿ z=
4 -1.570763264 1.699684443 0.957026274 3
5 -1.552236906 1.687166695 0.955023404
6 -1.5473967 1.683272268 0.954708144 RECURSIVE :
7 -1.545993471 1.682231695 0.954587259 −q k −r k −2
pk+1 =g 1 ( p k , q k , r k )=
8 -1.545606318 1.681933298 0.954557673 3
9 -1.54549699 1.681850551 0.954548813 −2 p k +1 +r k +1
q k +1 =g1 ( pk , qk ,r k )=
10 -1.545466455 1.681827241 0.954546405 3
11 -1.545457882 1.681820723 0.95454572 − p −q +3
12 -1.545455481 1.681818894 0.954545529 r k +1 =g1 ( p k , q k , r k )= k +1 k+1
3
13 -1.545454808 1.681818381 0.954545475
14 -1.545454619 1.681818238 0.95454546
15 -1.545454566 1.681818197 0.954545456
16 -1.545454551 1.681818186 0.954545455
17 -1.545454547 1.681818183 0.954545455
18 -1.545454546 1.681818182 0.954545455
19 -1.545454546 1.681818182 0.954545455
20 -1.545454545 1.681818182 0.954545455
21 -1.545454545 1.681818182 0.954545455

You might also like