CS/MATH 3414 Assignment #7
Date Assigned: March 20, 2002
Date Due: March 27, 2002, in class, before class starts
- (10 points) Exercise 6.4.4 (both parts) from your textbook.
- (15 points) Write a function in MATLAB to determine the inverse of
a given square matrix A. Your function should use the Gaussian
elimination technique and the backsubstitution technique and
should be written to work for any square
matrix, not a matrix of a particular size. Then, using this function
find the inverse of the matrix described in Computer Problem 6.4.8
(page 304)
of your textbook. Compare your answer with the built-in MATLAB function
inv and report your observations. Also attach a printout of your
code.
- (25 points) Computer problem 6.5.2 from your textbook. You are
expected to do the coding in MATLAB. For full credit, attach printouts of
your code, the results you get, and a list of observations.