0% found this document useful (0 votes)
374 views4 pages

Gauss Seidel Method

1. The document describes the Gauss-Seidel method for solving systems of linear equations. It provides three examples that show the iterative process of calculating values for variables x, y, and z until values converge within a specified accuracy level. 2. Each example gives the initial coefficients and constants, shows the iteration calculations with error percentages, and lists the final values and whether they meet the stopping criteria. 3. The Gauss-Seidel method is an iterative process that calculates updated variable values in each iteration based on the most recent values until the errors are sufficiently small.

Uploaded by

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

Gauss Seidel Method

1. The document describes the Gauss-Seidel method for solving systems of linear equations. It provides three examples that show the iterative process of calculating values for variables x, y, and z until values converge within a specified accuracy level. 2. Each example gives the initial coefficients and constants, shows the iteration calculations with error percentages, and lists the final values and whether they meet the stopping criteria. 3. The Gauss-Seidel method is an iterative process that calculates updated variable values in each iteration based on the most recent values until the errors are sufficiently small.

Uploaded by

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

GAUSS SEIDEL METHOD

1.Start from an initial gues of x=y=z=1.0, show the first five iterati
Seidel Method for the Solution of this system of equations. Determ
values of x,y,z.
3x-0.1y-0.2z=7.85
0.1x+7y-0.3z=-19.3
0.3x-0.2y+10z=71.4

Input all the Coefficients and constants


x y
1st 3 -0.1
2nd 0.1 7
3rd 0.3 -0.2

Iteration X Ɛ(x) Y Ɛ(y)


0(Initial) 0 0
1 2.616667 100.00% -2.794524 100.00%
2 2.990557 12.50% -2.499625 11.80%
3 3.000032 0.32% -2.499988 0.01%
4 3 0.00% -2.5 0.00%
5 3 0.00% -2.5 0.00%

2. Solve for the values of x,y and z given the following linear equa
Seidel Method.

10x+y+z=12
2x+10y+z=13
2x+2y+10z=14

Input all the Coefficients and constants


x y
1st 10 1
2nd 2 10
3rd 2 2

Iteration X Ɛ(x) Y Ɛ(y)


0(Initial) 0 0
1 1.2 100.00% 1.06 100.00%
2 0.9992 20.10% 1.00536 5.43%
3 0.999555 0.04% 1.00018 0.52%
4 0.999977 0.04% 0.999999 0.02%
5 1 0.00% 1 0.00%

3.Assuming x=y=z=0, Use Gauss Seidel Method to Solve the follo


linear Equations. Use an accuracy e=0.005=0.5%
15x-3y-z=3800
-3x+18y-6z=1200
-4x-y+12z=2350

Input all the Coefficients and constants


x y
1st 15 -3
2nd -3 18
3rd -4 -1

Iteration X Ɛ(x) Y Ɛ(y)


0(Initial) 0 0
1 253.3333 100.00% 108.8889 100.00%
2 294.4012 13.95% 212.1842 48.68%
3 316.5468 7.00% 223.3075 4.98%
4 319.3254 0.87% 226.5402 1.43%
5 320.0516 0.23% 227.0598 0.23%
6 320.1745 0.04% 227.1754 0.05%
DEL METHOD

, show the first five iterations of the Gauss


stem of equations. Determine also the final
of x,y,z.
-0.2z=7.85
-0.3z=-19.3
y+10z=71.4

Coefficients and constants


z k
-0.2 7.85
-0.3 -19.3
10 71.4

Z Ɛ(z) Remark
0
7.00561 100.00% CONTINUE
7.000291 0.08% CONTINUE
6.999999 0.00% CONTINUE
7 0.00% STOP
7 0.00% STOP

the following linear equations using Gauss


Method.

y+z=12
0y+z=13
+10z=14

Coefficients and constants


z k
1 12
1 13
10 14

Z Ɛ(z) Remark
0
0.948 100.00% CONTINUE
0.999088 5.11% CONTINUE
1.000053 0.10% CONTINUE
1.000005 0.00% CONTINUE
1 0.00% STOP

Method to Solve the following system of


n accuracy e=0.005=0.5%
y-z=3800
y-6z=1200
12z=2350

Coefficients and constants


z k
-1 3800
-6 1200
12 2350

Z Ɛ(z) Remark
0
289.3519 100.00% CONTINUE
311.6491 7.15% CONTINUE
319.9579 2.60% CONTINUE
321.1535 0.37% CONTINUE
321.4388 0.09% CONTINUE
321.4895 0.02% STOP

You might also like