0% found this document useful (0 votes)
1K views1 page

Gauss-Seidel With Excel

This document demonstrates how to use the Gauss-Seidel method in Excel to solve a system of equations. It shows rewriting the system of equations so each unknown is isolated on one side of its equation. It then explains the iterative process of guessing initial values for two unknowns and solving for the third, then using the solution to update the guesses and recalculate until errors are below a specified tolerance level. The example iterates 10 times to converge on the solution x1=3, x2=-2.5, x3=7 for the given system of equations.

Uploaded by

Mark Aquino
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)
1K views1 page

Gauss-Seidel With Excel

This document demonstrates how to use the Gauss-Seidel method in Excel to solve a system of equations. It shows rewriting the system of equations so each unknown is isolated on one side of its equation. It then explains the iterative process of guessing initial values for two unknowns and solving for the third, then using the solution to update the guesses and recalculate until errors are below a specified tolerance level. The example iterates 10 times to converge on the solution x1=3, x2=-2.5, x3=7 for the given system of equations.

Uploaded by

Mark Aquino
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/ 1

GAUSS-SEIDEL with EXCEL

For the system:

Solving each equation for the unknown in the main diagonal:

Assume a value for x2 and x3 and solve for x1 in the first equation, for instances x2=0, x3=0. With the new x1 value and the
initial x3 value (i.e., zero) compute the new x2 value. With the new x1 and x2 values compute the new x3 value. Repeat the procedure
using the most recent x1, x2, and x3 as the new estimates. Stops the procedure until error is less than tolerance<1e-3
ERRORS
ii x1 x2 x3 Ea1 Ea2 Ea3 Tolerance
Guess values 0 0 0
1 2.616667 -2.794524 7.00561
2 2.990557 -2.499625 7.000291 14.28878 10.55275 0.075921 try again
3 3.000032 -2.499988 6.999999 0.316844 0.014534 0.004165 try again
4 3 -2.5 7 0.001052 0.000482 1.008E-05 try again
5 3 -2.5 7 1.181E-05 1.412E-06 1.62E-07 ok
6 3 -2.5 7 6.442E-08 1.833E-08 6.973E-10 ok
7 3 -2.5 7 4.008E-10 9.056E-11 5.799E-12 ok
8 3 -2.5 7 3.434E-12 6.395E-13 0 ok
9 3 -2.5 7 0 0 0 ok
10 3 -2.5 7 0 0 0 ok

You might also like