

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!


Numerical Computing S’09 MATH/CSCI 4800- Homework-
Due in class on Thursday February 12, 2009
Illegible reports will be returned without grading. Show all work. All Matlab scripts, Matlab output and plots should be printed out and stapled to the report.
5 − x^2 2
ii. g 2 (x) = 1 + x −
x^2 5
For each of these choices do the following. i. Check that the fixed-point problem for g(x) is equivalent to the problem of solving f (x) = 0. ii. Determine if the corresponding fiixed-point iteration scheme is locally convergent to
What g(x) corresponds to Newton’s method for this problem?
(a) If the rows of a square matrix are linearly dependent, then so are the columns. (b) For nonsingular A the number of solutions to the system Ax = b depends upon b. (c) If A is singular, then the system Ax = b has no solutions for any b. (d) The system Ax = b may have exactly two distinct solutions. (e) Naive Gaussian elimination (no pivoting) for the system Ax = b fails only when A is singular.
ai,j = (i + 1)(j−1), bi =
(i + 1)n^ − 1 i
(The above choice of b ensures that all elements in the exact solution are unity.) Write a Matlab program GaussMain.m which calls the program GaussNaive.m, available on line, to solve the above
system for n = 12, 13 and 14. For each choice of n, print out the matrices A and b, the computed solution x, the residual r = b − Ax, and kappa, the condition number of A. (The Matlab command for computing the condition number of A is cond(A).) You may need to modify GaussNaive.m so that it does not print out any other quantities.
Comment on, and offer explanation for, the behavior that you observe.