

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!


Winter Quarter 2007
Homework Assignment 4 Due Wednesday, January 31 Reminder: Midterm #1 on Friday, Feb 2
Analytical Problems
(a) f or k = 1, · · · , n − 1 do x(k) ← y ∗ z + 7. 4 f or i = 1, · · · , k do y ← 3. 9 ∗ z f or j = 1, · · · , i − 1 do z ← x(j) ∗ y ∗ (z − 4 .1) end end end (b) f or k = 1, · · · , n − 1 do x ← 17 ∗ y/z f or j = 1, · · · , k do a(j, k) ← a(j, k) ∗ x f or i = 1, · · · , j − 1 , do b(i) ← b(i)/x end end end
, b =
(a) Solve Ax = b (in exact arithmetic). Calculate κ∞(A) and ‖x‖∞.
(b) Solve Ax = b in 4 decimal digit (rounding) arithmetic by Gaussian elimination. Let z be the computed solution. Calculate ‖x − z‖∞/‖x‖. Show there does not exist E, f ∼= 0 s.t. (A+E)z = b+f. (c) Solve Ax = b in 4 decimal digit (rounding) arithmetic by partial pivoting. Let y be the computed solution. Find E, f ∼= 0 s.t. (A + E)y = b + f.