You are on page 1of 2

Saint Marys University

Bayombong, Nueva Vizcaya

SCHOOL OF ENGINEERING & ARCHITECTURE


SECOND TERM EXAMINATION EMath 12 (NUMERICAL METHODS w/ COMP. APPLIC.)
2nd Sem. 2012-2013
DURATION:

90 minutes

Instructor: Engr.

L. Costales Jr.
Test I. MULTIPLE CHOICE. AVOID ERASURES. <12 points>
1. MATLAB was originally written to provide easy access to matrix software. It stands for:
a. Matrix Laboratory
c. MathWorks Laboratory
b. Mathematics Laboratory
d. None of the above
2. Use the _____________ Window to enter variables and run functions and M-files.
a. Message
c. Output
b. Command
d. None of the above
3. Use the ______________ to create and debug M-files, which are programs you write to run
MATLAB functions. It provides a graphical user interface for basic text editing, as well as
for M-file debugging.
a. Command History
c. Editor
b. Browser

d. None of the above

4. This statement evaluates a logical expression and executes a group of statements when
the expression is true.
a. FOR statement
c. REPEAT statement
b. IF statement
d. All of the above
5. An array having rows and columns is a two-dimensional array that is sometimes called a
____________.
a. Vector
c. Matrix
b. Table
d. None of the above
6. It is a real-valued function that provides a measure of the size or length of
multicomponent mathematical entities such as vectors and matrices.
a. Inverse
c. Determinant
b. Norm
d. none of the above
7. This numeric value is defined to be the product of the norm of the matrix and its inverse.
a. Column-sum norm
c. Frobenius norm
b. Euclidean norm
d. none of the above
8. Which of the following statements is incorrect about row echelon forms (REF)?
a. The first non-zero entry of each row is called the leading entry.
b. For any 2 consecutive rows that do not consist entirely of zeros, the leading entry of
the 2nd row is farther to the right than the leading entry of the 1 st row.
c. Rows consisting entirely of zeros are found at the bottom of the matrix.
d. None of the above.
9. The Euclidean norm of the matrix

A= 2 3
5 1

is equal to

a.

39

c. 6

b.

21

d. none of the above

10.For vector norms, the sum of magnitudes is given by the equation

xi

a.

c. max {|x1|, |x2|, ,|xn|}

i=1

1 /2

b.

( )
i=1

xi

d. none of the above

11.The series of estimates for the Gauss-Jacobi and the Gauss-Seidel methods do not always
converge to the true roots of the given system. Thus, the matrix must be _________________
to ensure convergence.
a. Normalized
c. inverted
b. Diagonally dominant
d. none of the above
12.The Gaussian elimination method is used by
a. Performing elementary row operations until the matrix is converted as a lower
triangular matrix.
b. Performing elementary row operations until the matrix is converted as an upper
triangular matrix.
c. Performing elementary row operations until the matrix is converted as a diagonal
matrix.
d. all of the above

Test II.APPLICATION. Round off all answers to 4 decimal places.


1. <5 points> Use Gaussian elimination to solve the given linear system below:

7 x 1 +2 x2 3 x 3=12
2 x 1+ 5 x 23 x 3=20
x1 x2 6 x3 =26

2. <5 points> Determine the inverse of the coefficient matrix for the linear system given in
Problem 1. Check your results by verifying that

[ A ] [ A1 ] =[ I ] .

3. <5 points> What is the Condition number of the linear system in Problem 1? (Use
Frobenius norm)
4. <5 points> For the matrix

1 1 0
A= 1 2 1
0 1 1

a. Is the matrix singular? Explain why or why not.


b. Can the matrix be decomposed as a product of a lower triangular matrix and an
upper triangular matrix (LU factorization)? Compute the LU factorization if it exists.

You might also like