5.0 Numerical Analysis
5.0 Numerical Analysis
Iterative Method
Gauss – Seidel Iterative Method
Solution:
𝟖𝟑𝒙 + 𝟏𝟏𝒚 − 𝟒𝒛 = 𝟗𝟓 ………………(i)
𝟕𝒙 + 𝟓𝟐𝒚 + 𝟏𝟑𝒛 = 𝟏𝟎𝟒 …………….(ii)
𝟑𝒙 + 𝟖𝒚 + 𝟐𝟗𝒛 = 𝟕𝟏 ………………...(iii)
Solution:
𝟏
𝒙= (𝟗𝟓 − 𝟏𝟏𝒚 + 𝟒𝒛) ………………(i)
𝟖𝟑
𝟏
𝒚= (𝟏𝟎𝟒 − 𝟕𝒙 − 𝟏𝟑𝒛) …………….(ii)
𝟓𝟐
𝟏
𝒛= (𝟕𝟏 − 𝟑𝒙 − 𝟖𝒚) ………………...(iii)
𝟐𝟗
So,
𝒙 = 𝟏. 𝟎𝟓𝟕𝟗𝟐𝟒𝟗𝟕𝟒
𝐲 = 𝟏. 𝟑𝟔𝟕𝟏𝟓𝟗𝟗𝟎𝟐
𝐳 = 𝟏. 𝟗𝟔𝟏𝟔𝟖𝟕𝟕𝟖𝟖
Md. Abu Safayet,
Md. AbuLecturer,
Safayet,Department
Lecturer, Department
of BuildingofEngineering
Building Engineering
& Construction
& Construction
Management,
Management,
KUET KUET
Solve the following set of equations using Inverse matrix
method.
𝟖𝟑𝒙 + 𝟏𝟏𝒚 − 𝟒𝒛 = 𝟗𝟓
𝟕𝒙 + 𝟓𝟐𝒚 + 𝟏𝟑𝒛 = 𝟏𝟎𝟒
𝟑𝒙 + 𝟖𝒚 + 𝟐𝟗𝒛 = 𝟕𝟏
Solution:
𝟖𝟑𝒙 + 𝟏𝟏𝒚 − 𝟒𝒛 = 𝟗𝟓 ………………(i)
𝟕𝒙 + 𝟓𝟐𝒚 + 𝟏𝟑𝒛 = 𝟏𝟎𝟒 …………….(ii)
𝟑𝒙 + 𝟖𝒚 + 𝟐𝟗𝒛 = 𝟕𝟏 ………………...(iii)
𝟖𝟑 𝟏𝟏 −𝟒
[A] = 𝟕 𝟓𝟐 𝟏𝟑
𝟑 𝟖 𝟐𝟗
𝟗𝟓 𝑿
[C] = 𝟏𝟎𝟒 [X] = 𝒀
𝟕𝟏 𝒁
𝑨𝒅𝒋𝒐𝒊𝒏𝒕 𝒐𝒇 𝑨
A-1 =
𝑨
Md. Abu Safayet,
Md. AbuLecturer,
Safayet,Department
Lecturer, Department
of BuildingofEngineering
Building Engineering
& Construction
& Construction
Management,
Management,
KUET KUET
𝑨 = 83*(52*29 - 8*13) – 11(7*29 – 3*13) – 4(7*8 – 3*52)
= 115128
83 7 3
AT = 11 52 8
−4 13 29
52 8
Co-factor of 83 = = 1404
13 29
Co-factor of 7= -351
Co-factor of 3 = 351
Co-factor of 11 = -164
Md. Abu Safayet,
Md. AbuLecturer,
Safayet,Department
Lecturer, Department
of BuildingofEngineering
Building Engineering
& Construction
& Construction
Management,
Management,
KUET KUET
Co-factor of 52= -2419, Co-factor of 8 = -1107
Co-factor of -4 = -100, Co-factor of 13 = -631
Co-factor of 29 = 4239
𝟏
𝟏𝟒𝟎𝟒 ∗ 𝟗𝟓 − 𝟑𝟓𝟏 ∗ 𝟏𝟎𝟒 + 𝟑𝟓𝟏 ∗ 𝟕𝟏
= −𝟏𝟔𝟒 ∗ 𝟗𝟓 + 𝟐𝟒𝟏𝟗 ∗ 𝟏𝟎𝟒 − 𝟏𝟏𝟎𝟕 ∗ 𝟕𝟏
𝟏𝟏𝟓𝟏𝟐𝟖
−𝟏𝟎𝟎 ∗ 𝟗𝟓 − 𝟔𝟑𝟏 ∗ 𝟏𝟎𝟒 + 𝟒𝟐𝟑𝟗 ∗ 𝟕𝟏
𝒙 𝟏. 𝟎𝟓𝟕𝟗𝟐𝟔𝟖𝟐𝟗
𝒚 = 𝟏. 𝟑𝟔𝟕𝟏𝟔𝟓𝟐𝟒𝟐
𝒛 𝟏. 𝟗𝟔𝟏𝟔𝟖𝟔𝟏𝟐𝟑
(When the determinate is 0, then this method is not applicable)