Final Exam Answer of Numerical Methods 2019 PDF
Final Exam Answer of Numerical Methods 2019 PDF
Final Exam Answer of Numerical Methods 2019 PDF
1.
First Matrix (Que)
2 -5 2
3 -1 4
1 5 -6
Matrix Cofactor
-14 22 16
-20 -14 -15
-18 -2 13
Transpose Matrix
-14 -20 -18
22 -14 -2
16 -15 13
Determinant
-28 110 -32
-106
Inverse Matrix
0.132 0.189 0.170
-0.208 0.132 0.019
-0.151 0.142 -0.123
2.
Question
3x + 6y = 17
5x - y = 8
x y
(i) 3x + 6y - 17 = 0 => 3 6 -17 0
5x - y - 8 = 0 => 5 -1 -8 0
x -y 1
6 -17 = 3 -17 = 3 6
-1 -8 5 -8 5 -1
(ii)
x -y 1
= =
-65 61 -33
(ii) I1 -I2 I3 -1
= = =
D I1 D I2 D I3 D
-3 4 -20
D I1 = 5 -3 -45
2 6 35
-3 -45 5 -45 5 -3
= -3 - 4 + -20
6 35 2 35 2 6
3 4 -20
D I2 = 1 -3 -45
5 6 35
-3 -45 1 -45 1 -3
= 3 - 4 + -20
6 35 5 35 5 6
= 495 - 1040 + -420
= -965
3 -3 -20
D I3 = 1 5 -45
5 2 35
5 -45 1 -45 1 5
= 3 - -3 + -20
2 35 5 35 5 2
3 -3 4
D = 1 5 -3
5 2 6
5 -3 1 -3 1 5
= 3 - -3 + 4
2 6 5 6 5 2
2035
I3 = = -25.7595 mA
-79
Using Gauss’s Method
Question
3 I1 - 3 I2 + 4 I3 = 20
I1 + 5 I2 - 3 I3 = 45
5 I1 + 2 I2 + 6 I3 = -35
Matrix
3 -3 4 20
1 5 -3 45
5 2 6 -35
Iteration 1
1 -1 1.333 6.667
0 6 -4.333 38.333
0 7 -0.667 -68.333
Iteration 2
1 0 0.611 13.056
0 1 -0.722 6.389
0 0 4.389 -113.056
Iteration 3
1 0 0 28.797
0 1 0 -12.215
0 0 1 -25.759