Birla Institute of Technology and Science, Pilani KK Birla Goa Campus
Birla Institute of Technology and Science, Pilani KK Birla Goa Campus
Birla Institute of Technology and Science, Pilani KK Birla Goa Campus
Numerical Analysis
Tutorial5
Use 5-digit floating point arithmetic with rounding for all the problems.
1. Find x , x1 and x2 for the following vectors
(a) x = [3, 4, 0, 3/2]T ,
(a) 2 7 4 ,
1
5 8
(b)
5 9 6
1 2
4 6 1 ,
3 2
0
10.2
2.4
4.5
(c) 2.3
7.7 11.1 .
5.5 3.2 0.9
3. Classify each of the following matrices as strictly diagonally dominant, symmetric positive definite, both or neither.
6 4 ,
4 7
(b)
4 2 2
(a) 2
2
1 2
4 6 1 ,
3 2
0
2 1 0
(c) 1
0
4 2 ,
2 6
(
(d )
1 1
1
)
.
A=
1 .
1
1+
(
,
(b)
0 1
2 0
(
,
(c)
s 1
1 1
)
.
6. For each of the following coecient matrices and right hand side vectors, write out the components of the Jacobi method iteration equation. Then, starting with the initial vector X(0) =
[0, 0, 0]T , perform 4 iterations of the Jacobi method.
4 2 ,
2 6
4 1 0
(a) 1
0
3
5
and (b)
7 20
2 6
3 1
3 ,
1
13 .
4
THE END