Null
Null
Null
INDEX NUMBER:
Instructions:
1. Attempt ALL Questions.
Best Wishes!
1
Use the following set of algebraic equations to answer questions 1
and 2.
2x1 + 3x2 − x3 = 4
x1 − 2x2 + x3 = 6
x1 − 12x2 + 5x3 = 10
1. The above system of equations has: 3. The significance of perfoming forward elimina-
tion when using the naive Gaussian elimination
(a) a unique solution
method is to reduce the coefficient matrix to
(b) no solutions one of the following matrices.
(c) infinitely many solutions (a) diagonal
(d) the trivial solution (b) identity
(e) None of the above. (c) lower triangular
(d) upper triangular
(e) None
4. During the process of forward elimination steps
in naive Gaussian elimination for a set of equa-
tions [A] [X] = [C], encountering division by
2. Find the solution to the above system. zero implies the coefficient matrix [A]
(a) (0, 5, −13)T (a) is invertible
T
(b) (5, 0, 13) (b) is nonsingular
T
(c) (0, 10, 26) (c) may be singular or nonsingular
(d) Cannot be solved (d) is singular
(e) None of the above. (e) None
5. Given that the profile of velocity of a machine 6. Using a four significant digits with chopping
at t = 21 s is estimated by a quadratic poly- at every stage of calcualtion, find the solution
nomial, v(t) = at2 + bt + c, what will be the to the system below using the naive Gaussian
correct set of equations that will help calculate elimination method
the values of a, b and c, using the data below?
t (s) 0 14 15 20 30 35 0.0030x1 + 55.23x2 = 58.12
v(t) 0 227.04 362.78 517.35 602.97 901.67 6.239x1 − 7.123x2 = 47.23
(m/s)
176 14 1 a 227.04 (a) x1 = 26.66; x2 = 1.051
(a) 225 15 1 b = 362.78
400 20 1 c 517.35 (b) x1 = 8.769; x2 = 1.051
225 15 1 a 362.78 (c) x1 = 8.800; x2 = 1.000
(b) 400 20 1 b = 517.35
(d) x1 = 8.771; x2 = 1.052
900 30 1 c 602.97
0 0 1
a
0
(e) None
(c) 225 15 1 b = 362.78
400 20 1 c 517.35
400 20 1 a 517.35
(d) 900 30 1 b = 602.97
1225 35 1 c 901.67
(e) None
2
7. At the end of the forward elimination steps of the naive Gaussian elimination method on the following
equations
x1 + x2 + 3x4 = 4
2x1 + x2 − x3 + x4 = 1
3x1 − x2 − x3 + 2x4 = −3
−x1 + 2x2 + 3x3 − x4 = 4
The following triangularised form (with some missing values) is obtained at the end of the forward
elimination stage
1 1 0 A14 x1 4
0 A22 −1 A23 x2 b2
=
0 0 A33 13 x3 b3
0 0 0 A44 x4 −13
3
10. The value of A23 is 15. What method would be employed to solve the
triangularised system?
(a) -13
(b) -5 (a) Forward substitution method
(c) -1 (b) Forward elimination method
(d) 3 (c) Back substitution method
The following triangularised form (with some missing values) is obtained at the end of the forward
4
elimination stage
A11 2 −6 x1 b1
0 A22 1 x2 = 15
0 0 A33 x3 b3
1 0 0
(a) 0.40000 1 0
0.32000 1.7333 1
25 5 4
(b) 0 6 14.400
0 0 −4.2400
25 5 4
(c) 0 8 16
0 0 −2
1 0.2000 0.16000
(d) 0 1 2.4000
0 0 −4.240
(e) None
3x1 − x2 − x3 + 3x4 = −3
2x1 + x2 − x3 + x4 = 4
3x1 − x2 − x3 + 2x4 = 1
x1 + x2 + 3x4 = 1
The following triangularised form (with some missing values) is obtained at the end of the forward
6
elimination stage
1 0 0 0 3 −1 −1 U14 x1 −3
−1/3 1 0 0 0 U22 8/3 −1/3 x2 4
=
L31 1 1 0 0 0 −3 U34 x3 1
1/3 L42 L43 1 0 0 0 U44 x4 1
35. The value of U14 is 40. Solving with the method of choice, y1 is
(a) 4/5 (a) -3
(b) 3/5 (b) 3
(c) 2 (c) 0
(d) 2/3 (d) 0.4
(e) 5/3 (e) -0.3
36. The value of U22 is 41. Solving with the method of choice, y2 is
(a) 0 (a) -3
(b) 13/5 (b) 3
(c) 2 (c) 0
(d) 2/3 (d) 0.4
(e) 5/3 (e) -0.3
7
42. Solving with the method of choice, y3 is 45. Using appropriate solution technique of your
choice, x2 is
(a) -3
(b) 3 (a) -0.1538
(c) 0 (b) 2.5
(d) 0.4 (c) 0
48. Find α > 0 and β > 0 so that the matrix 49. Consider y = f (x) = x3 over the range
1 ≤ x ≤ 3. Use the three nodes x0 = 1, x1 = 2
and x3 = 3 to construct a quadratic interpola-
4 α 1
A = 2β 5 4 is strictly diagonally dom- tion polynomial P2 (x) using the Lagragian in-
β 2 α terpolation. P2 (x) = .
inant. (a) −6x2 − 11x − 6
1
(a) α< 2 and α + 2 < β < 3 (b) −6x2 + 11x + 6
1
(b) β< 2 and β + 2 < α < 3 (c) 6x2 − 11x + 6
(c) β < 1 and β + 2 < α < 3 (d) 6x2 + 11x − 6
(d) α < 1 and α + 2 < β < 3 (e) None of the above
(e) None
50. A matrix is said to be positive definite if and
only if the determinant of all the leading prin-
cipal minors are .
(a) less than zero
(b) greater than zero
(c) less than or equal to zero
(d) greater than or equal to zero
(e) None of the above
8
51. A matrix A is said to be positive definite if and
only if all the follo
(a) 7500 wing holds except
(b) A is symmetric
(c) A is diagonally dominant
(d) the diagonal elements of A are all
greater or equal to zero
(e) the diagonal elements of A are all
greater than zero
(f) None
52. Find the lower triangular matrix, L. 53. Find the upper triangular matrix,U .
1 0 0 4 3 0
(a) −2 1 0 (a) 0 11/4 1
0 −1 1 0 0 27/11
1 0 0 3 2 0
(b) −1/4 1 0 (b) 0 −8 2
0 −16/11 1 0 0 3
3 0 0 1 −8 0
(c) 2 −4 0 (c) 0 1 3
0 −1 1 0 0 1
1 0 0 3 2 0
(d) 2 1 0 (d) 0 −8 2
0 −1 1 0 0 −1
(e) None (e) None
9
54. Find the vector y, if Ly = b 55. Find the solution x such that U x = y
2 2/3
(a) −5 (a) −3/9
−2 19/9
2 13/6
(b) −3 (b) 11/4
0 −2/3
2 0
(c) −1/2 (c) 2/3
25/11 −1/27
2 13/36
(d) −2 (d) 11/24
−5 −2/3
(e) None (e) None
60. Which of the following matrices has 1 as its 61. A square matrix [A] is said to be a Lower tri-
leading diagonal elements? angular matrix if:
(a) Lower triangular matrix of Cholesky (a) aij = 0, i = j
factorization (b) aij = 0, i 6= j y
(b) Upper triangular matrix of Cholesky (c) aij = 0, i < j
factorization
(d) aij = 0, i > j
(c) Lower triangular matrix of Tridiagonal
factorization (e) None
70. Compute the matrix B for Jacobi Method. 71. Find the approximate solution, x(2) for k = 2
using Jacobi Method.
0 1/4 −1/2
(a) 1/3 0 −1/2 (a) (0.8095, 1.5595, 2.3095)T
2/7 1/7 0 (b) (0.0895, 0.5595, 2.3095)T
0 −1/4 1/2 (c) (1.1095, 0.5595, 2.3095)T
(b) −1/3 0 1/2
−2/7 −1/7 0 (d) (1.5619, 2.6857, 4.5810)T
(e) None
0 −1/5 2/5
(c) −1/3 0 1/2
−2/7 −1/7 0
0 1/4 1/2
(d) −1/3 0 1/2 ||x(k+1) − x(k) ||∞
72. If is the relative error for any
2/7 −1/7 0 ||x(k+1) ||∞
two successive iterates, then what is the relative
(e) None error for x(1) and x(2) using Jacobi Method.
(a) 0.553244
(b) 0.53093
(c) 0.513510
(d) 0.75433
(e) None
12
73. Compute B for Gauss-Seidel Method 75. Find the second iterate, x(2) for Gauss-Seidel
Method.
0 −1/4 1/2
(a) 0 1/12 1/3 (a) (1.5486, 2.1029, 3.8286)T
0 5/84 −4/21 (b) (0.7946, 1.2173, 1.8848)T
0 −1/4 −1/2 (c) (−0.2000, 0.4000, 4.5714)T
(b) 0 −1/12 1/3
0 5/84 −4/21 (d) (1.7946, 2.2173, 1.0648)T
(e) None
0 −4 2
(c) 0 12 3 ||x(k+1) − x(k) ||∞
0 84 −21 76. If is the relative error for any
||x(k+1) ||∞
two successive iterates, then what is the rela-
0 −1/5 2/5
(d) 0 1/15 11/30 tive error for x(1) and x(2) using Gauss-Seidal
0 1/12 −1/6 Method.
(e) None (a) 0.554246
74. Compute vector d for Gauss-Seidel Method. (b) 0.654241
(c) 0.504246
−1/5
(a) 2/5 (d) 0.456722
32/7
(e) None
−1/4
(b) −5/12
84/193
−1/4
(c) 5/12
193/84
−4
(d) 12
84
(e) None
10x1 − x2 + 2x3 =6
− x1 + 11x2 − x3 + 3x4 = 25
2x1 − x2 + 10x3 − x4 = −11
3x2 − x3 + 8x4 = 15
The table below shows results(with some missing values) from two(2) iterations using the Jacobi iterative
k 0 1 2
(k) (1) (2)
x1 0.0000 x1 x1
method to solve the given linear system x(k)
2 0.0000 x
(1)
2 1.7159
(k) (2)
x3 0.0000 -1.1000 x3
(k) (1)
x4 0.0000 x4 0.8852
(1)
77. What is x1 ?
(a) 0.6
(b) 1.0473
(c) 2.2727
(d) -0.8052
(e) 1.8750 13
(2) (2)
78. What is x1 ? 80. What is x3 ?
(a) 0.6 (a) 0.6
(b) 1.0473 (b) 1.0473
(c) 2.2727 (c) 2.2727
(d) -0.8052 (d) -0.8052
(e) 1.8750 (e) 1.8750
(1) (1)
79. What is x2 ? 81. What is x4 ?
(a) 0.6 (a) 0.6
(b) 1.0473 (b) 1.0473
(c) 2.2727 (c) 2.2727
(d) -0.8052 (d) -0.8052
(e) 1.8750 (e) 1.8750
The table below shows results(with some missing values) from two(2) iterations
using the Gauss siedel iterative method to solve the given linear system
k 0 1 2
(k) (1)
x1 0.0000 x1 1.0473
(k) (2)
x2 0.0000 2.3272 x2
(k) (1)
x3 0.0000 x3 -1.0140
(k) (2)
x4 .0000 0 0.8789 x4
(1) (1)
82. What is x1 ? 84. What is x3 ?
(a) 0.6 (a) 0.6
(b) 2.3272 (b) 2.3272
(c) 2.0370 (c) 2.0370
(d) -0.9873 (d) -0.9873
(e) 0.9844 (e) 0.9844
(2) (2)
83. What is x2 ? 85. What is x4 ?
(a) 0.6 (a) 0.6
(b) 2.3272 (b) 2.3272
(c) 2.0370 (c) 2.0370
(d) -0.9873 (d) -0.9873
(e) 0.9844 (e) 0.9844
14
86. Find the divided difference P [d1 , d0 ] . 88. Find the divided difference
P [d3 , d2 , d1 , d0 ].
(a) 150
(b) 275 (a) 104.167
(c) 155 (b) 575
(d) 375 (c) 416.667
90. Find the first iterate x(1) 92. The Newtons method for solving the above sys-
(1) T tem is given by
(a) x = (8, 8)
x(k) = x(k−1) − J(x(k−1) )−1 F x(k−1)
(1)
(b) x = (0.4, 1.65)T where K = 1, 2, 3... Find the Jacobi matrix
(c) x(1) = (0, 0)T J(x(0) ).
(d) x(1) = (0.4, 1.6)T 8 0
(a)
(e) None 0 8
20 0
(b)
2 −5
−12 0
(c)
0 −2.5
−20 0
(d)
2 5
(e) None
91. Find x(2)
(a) x(2) = (0.4, 1.65)T
(b) x(2) = (8, 8)T
(c) x(2) = (0.523, 1.987)T
(d) x(2) = (0.464, 1.8624)T
(e) None
15
93. Find the functional value,F (x(0) ). 96. Find the functional value F (x(1) )
−8 1.08
(a) (a)
8 0.61952
0 1.0423
(b) (b)
0 0.8213
−12 1.4144
(c) (c)
3 0.61952
8 1.1134
(d) (d)
8 0.5432
(e) None (e) None
94. Find the first iterate x(1) . 97. Find the second iterate x(2)
0.414
(a) 0.4168
1.6 (a)
1.9759
0.464
(b) 0.4968
1.76 (b)
0.9859
0.4
(c) 1.6232
1.76 (c)
1.1242
0
(d) 0.4868
0 (d)
1.9759
(e) None (e) None
(1) −1
95. Find J(x )
−0.05 0
(a)
−0.02 −0.2
−0.060115 −0.002799
(b)
−0.049659 −0.235087
0.060115 0.002799
(c)
0.049659 0.235087
−0.080545 −0.0017355
(d)
−0.049659 −0.5366487
(e) None
R2
98. Find the approximate value of 1 Inx dx by us-
ing four-panel Trapezium Rule.
(a) 0.3845
(b) 0.3878
(c) 0.3836
(d) 0.3837 16
(e) None
R 2.2
99. The approximate value of 0.2
xex dx using two-
panel Simpsons rule is:
(a) 11.82149
(b) 11.78407
(c) 12.81151
(d) 9.57758
(e) None
17