Fall2011-HW4

# Fall2011-HW4 - B . (b) Write the result as a product of...

This preview shows page 1. Sign up to view the full content.

Homework 4 Math 371, Fall 2011 Assigned: Thursday, September 29, 2011 Due: Thursday, October 6, 2011 Page numbers in the international edition are +12. Clearly label all plots using title , xlabel , ylabel , legend Use the subplot command to compare multiple plots Include printouts of all Matlab code, labeled with your name, date, section, etc. (1) (Matrix Operations) P. 148 #1, 2, 3, 4, 5, 6, 7, 8, 9 (2) (Inverse of a 2 × 2 Matrix) P. 149 #14b (3) (Singular Matrices) P. 149 #16 (4) (Determinant of an Upper-Triangular Matrix) P. 157 #6 (5) (Elementary Matrices) Let B be a 4 × 4 matrix to which we apply the following opera- tions, in order. · Interchange columns 2 and 3, · Divide column 1 by 6, · Multiply row 4 by 5, · Add row 1 to row 3, · Replace row 1 by row 4, · Subtract column 4 from each of the other columns, · Delete row 2 (so the number of rows is now 3). (a) Write the result as a product of eight matrices, including
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: B . (b) Write the result as a product of three matrices, including B . (6) ( Matlab ) Solve Bradie p. 113, #12, using Matlabs fsolve() . Use inline as shown in the class. MATLABs tolerances do not seem to work in a predictable fashion. Use opts = optimset ( TolX , 1e-4, TolFun , 1e-4); and then pass opts as the third argument to fsolve() . Then change both tolerances to 1e-12 and repeat. You can get a sense of the accuracy of the computation by applying the inline function to the answer returned by fsolve() . The exact answer to 50 digits is found out using the following MAPLE script: >Digits := 50; 50 >ans:= fsolve (x^3+2 * x^2-3 * x-1=0): >ans [ 1 ] ;-2.9122291784843966150137869321385334285735629937890 1...
View Full Document

## This note was uploaded on 12/16/2011 for the course MATH 371 taught by Professor Krasny during the Fall '08 term at University of Michigan.

Ask a homework question - tutors are online