Professional Documents
Culture Documents
Null PDF
Null PDF
II. Do the same by applying the algorithm for LU decomposition. Show each and every step.
III. Find vector x for coefficient matrix A and b by Gauss Jordan method.
IV. Write a Julia code for Gauss Jordan method for your given matrix A (Hint: follow the in-
structions given at page 100 and 101 of the book).
4.0 3.0 3.0 −2.0 1.0
2.0 4.0 2.0 2.0 7.0
1 :A=
1.0 −1.0 7.0 7.0 , b = 5.0
1
Computational Physics PH-309
Spring 2020 Homework 3 Deadline: April 04, 2020
2.0 6.0 3.0 4.0 8.0
8.0 4.0 2.0 7.0 7.0
8 :A=
−1.0 0.0 0.0 −2.0 , b = 0.0
2.0 −1.0 1.0 4.0 2.0
7.0 −1.0 7.0 0.0 6.0
3.0 6.0 5.0 7.0 , b = 7.0
9 :A=
4.0 2.0 −1.0
1.0 6.0
3.0 7.0 −1.0 0.0 7.0
3.0 5.0 −1.0 2.0 8.0
6.0 5.0 5.0 1.0 7.0
10 :A=
−2.0 −2.0 3.0 3.0 , b = −1.0
2
Computational Physics PH-309
Spring 2020 Homework 3 Deadline: April 04, 2020
2.0 −1.0 3.0 −1.0 −2.0
, b = −2.0
8.0 7.0 7.0 5.0
17 :A=
2.0 1.0 2.0 5.0 8.0
8.0 2.0 −2.0 2.0 4.0
6.0 4.0 −1.0 3.0 1.0
7.0 −2.0 8.0 , b = −2.0
1.0
18 :A=
0.0 6.0 8.0 8.0 8.0
5.0 −1.0 3.0 −2.0 4.0
0.0 7.0 3.0 6.0 6.0
1.0 −1.0 3.0 5.0 0.0
19 :A=
3.0 4.0
,b =
7.0 1.0 4.0
1.0 3.0 0.0 7.0 6.0
1.0 5.0 8.0 2.0 2.0
−1.0 1.0 8.0 0.0 0.0
20 :A=
8.0 4.0
,b =
1.0 2.0 5.0
5.0 0.0 3.0 8.0 8.0