


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



(^2) + x (^3) + · · · ,
which is valid for |x| < 1. If we truncate the series after the second term, we obtain the approximation 1 1 − x ≈^ 1 +^ x, which might be useful if division were unavailable on a given calculator. What is the maginitude of the backward error in using this approximation to compute 1/(1 − x) for the argument x = 1/2? (a) 1/ 6 (b) 1/ 3 (c) 1/ 2 (d) 3/ 2
a = 1.0; while (a + 1.0) > 1. a = a / 2.0; end disp(2.0*a);
What will be the outcome of this program? (a) It will terminate when a is less than Underflow (UFL), and display 0. (b) It will terminate when a is less than mach, and display 0. (c) It will terminate when a is less than mach, and display the value of mach. (d) It will never terminate.
(a) 2 (b) 4/ 3 (c) 1/ 3 (d) 1/ 6
n^3
(b) O
n^2
(c) O [n] (d) O [1]
n^4
(b) O [n^3 ] (c) O
n^2
(d) O [n]
(a) When b lies in the span(A). (b) When rank(A) = n (c) When rank(A) = m (d) Always
for the matrix A =
(a) 6 (b) 4 (c) 2 (d) 1