Professional Documents
Culture Documents
Numerical Analysis: A.abdulshahed@eng - Misuratau.edu - Ly
Numerical Analysis: A.abdulshahed@eng - Misuratau.edu - Ly
التحليل العددي
علي محمد عبد الشاهد:إعداد الدكتور
3
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
4
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
5
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
6
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
7
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
8
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
9
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
10
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
11
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
Let us solve this system using Relaxation method with relaxation parameter, ω = 1.2. The iterations are given by
12
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
It is easy to see that the difference between 12th iteration and 13th iteration is less than 0.000001. So, total 13
iterations of the SOR method are required for the accuracy of 0.000001. It is easy to conclude that the number of
iterations required in SOR method is pretty less than the number of iterations of the Gauss–Seidel method .
13
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
Note: Consider the relaxation method with different relaxation parameter ω for the solution of the system in Example 5.29.
The numbers of iterations required for the accuracy of 0.000001 with different values of relaxation parameter ω are given in
the following table.
14
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
Relaxation
15
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
16
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
17
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
18
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
19
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
20
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
The Gauss–Seidel iterations
21
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
The system is not satisfying the convergence conditions, so Jacobi and Gauss–Seidel methods are diverging for the given
system in the present form.
22
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations Relaxation Method
The Gauss–Seidel method provides following iterations for the given system.
After seven iterations of the Gauss–Seidel method, the approximate solution correct up to three decimal places is as follows
23
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
Systems of Linear Equations
24
a.abdulshahed@eng.misuratau.edu.ly إعداد الدكتور علي عبد الشاهد
HW
الكود البرمجي السابق يعتبر بسيط لتوضيح فكرة الحل فقط
المطلوب تطوير الكود السابق إلظهار معلومات أكثر حول (التباعد أو
التقارب -عدد التك اررات – األخطاء – دقة الحل – شروط الحل)
25