Lecture03 - Iterative Methods
Lecture03 - Iterative Methods
Statistics
Lecture 3:
Iterative Methods
Objectives
Introduction
Jacobi Method
Gauss-Seidel Method
- PLU decomposition
Iterative Methods
- Jacobi Method
- Gauss-Seidel Method
First we have:
7.85 0.1x 2 0.2 x3
x1
3
19.3 0.1x1 0.3 x3
x2
7
71.4 0.3 x1 0.2 x 2
x3
10
1st iteration
Assume that x2 = 0 and x3 = 0, we obtain
7.85
x1 2.616667
3
Substitute x1 = 2.616667 and x3 = 0 into equation (2)
19.3 0.1(2.616667) 0
x2 2.794524
7
Substitute x1 = 2.616667 and x2 = -2.794524 into equation (3)
71.4 0.3( 2.616667 ) 0.2( 2.794524)
x3 7.005610
10
This completes the first iteration
2nd iteration
Error estimate
For x1
2.990557 2.6166667
a ,1 100% 12.5%
2.990557
For x2
2.499625 (2.794524)
a,2 100% 11 .8%
2.499625
For x3
7.000291 7.005610
a ,3 100% 0.07%
7.000291
Computational Methods
12.11, 12.30, 12.33
Statistics
2.2, 2.14, 2.22, 2.26, 2.28, 2.37, 2.45, 2.52, 2.65, 2.74