Assignment 1
Assignment 1
3. Using a computer with four significant digits with chopping, the Gaussian elimination(without
pivoting) solution of following system
0.0030x1 + 55.23x2 = 58.12
6.239x1 − 7.123x2 = 47.23
is
(A) x1 = 26.66; x2 = 1.051
(B) x1 = 8.769; x2 = 1.051
(C) x1 = 8.800; x2 = 1.000
(D) x1 = 8.771; x2 = 1.052
4. At the end of the forward elimination steps of the Gaussian elimination(without pivoting)
method on the following equations
5. The following data is given for the velocity of the rocket as a function of time. To find the
velocity at t = 21s, you are asked to use a quadratic polynomial, v(t) = at2 + bt + c to
approximate the velocity profile.
t (s) 0 14 15 20 30 35
v(t) (m/s) 0 227.04 362.78 517.35 602.97 901.67
2
7. To ensure that the following system of equations,
2x1 + 7x2 − 11x3 = 6
x1 + 2x2 + x3 = −5
7x1 + 5x2 + 2x3 = 17
converges
using Gauss-Seidel
Method,
one can rewrite the above equations as follows:
2 7 −11 x1 6
(A) 1 2 1 x2 = −5
7 5 2 x 17
3
7 5 2 x1 17
(B) 1 2 1 x2 = −5
2 7 −11 x 6
3
7 5 2 x1 6
(C) 1 2 1 x2 = −5
2 7 −11 x3 17
(D) The equations can not be rewritten in a form to ensure convergence.
with an initial solution [x1 , x2 , x3 ] = [1, 2, 1], the following table gives the values of
[x1 , x2 , x3 ] in each iteration
Iteration # x1 x2 x3
1 0.41666 1.1166 0.96818
2 0.93989 1.0183 1.0007
3 0.98908 1.0020 0.99930
4 0.99898 1.0003 1.0000
At what first iteration number would you trust at least 1 significant digit in your solution?
(A) 1
(B) 2
(C) 3
(D) 4
9. Which
of thefollowing matrix is ill-conditioned under l1 norm ?
2 0
(A)
−1 3
400 −201
(B)
−800 201
0.913 0.659
(C)
0.457 0.330
1 2
(D)
1.0001 2
3
10. For the given system of equations
5x1 − x2 + x3 = 14
2x1 + 8x2 − x3 = −7
−4x1 + x2 + 10x3 = 21
Using Jacobi’s method, the values of (x1 , x2 , x3 ) with initial value x(0) = 0 i.e., x1 =
0, x2 = 0, x3 = 0 after THREE iterations corrected up to 2 decimal places is
(A) (1.88, −1.01, 3.11)
(B) (2.20, −1.31, 3.31)
(C) (1.98, −0.97, 2.97)
(D) (2.02, −1.00, 3.25)
11. Cholesky
decomposition
is guaranteed to which of the following matrix?
8 1 0
(A) 2 −3 7
0 7 6
1 2 3
(B) 2 5 4
3 4 9
4 1 −1
(C) 1 2 1
−1 1 2
4 −1 1
(D) −1 2 −1
1 1 2