{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ma174_hw4

# ma174_hw4 - Assigned Tuesday Oct 14 2011 Due Date Tuesday...

This preview shows pages 1–3. Sign up to view the full content.

Assigned: Tuesday Oct. 14, 2011 Due Date: Tuesday Oct. 21, 2011 MATH 174/274: Homework IV ”Linear Algebra (Part II)” Fall 2011 1. Consider the following linear system, A~x = ~ b where A is the following matrix, A = 0 1 4 5 2 0 2 4 2 4 0 1 1 - 3 - 5 0 . (a) Determine the P , L , U decomposition of the matrix A , such that PA = LU . (Show EACH STEP in the decomposition.) (b) Use the P , L , U decomposition found in (a) to ﬁnd the solution to A~x = 2 - 2 0 1 (Show ALL relevant steps). (c) Use the P , L , U decomposition found in (a) to ﬁnd the solution to A~x = 0 1 5 2 (Show ALL relevant steps). 2. SOURCE CODE: Write separate MATLAB functions for LU decomposition with partial pivoting , forward substitution , and backward substitution . I recommend using the pseudocode provided in the lecture notes. These functions should be written so that they can be used to solve A~x = ~ b in the following way: LU decomposition: [L,U,P]=LUdecomp(A,m) 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Assigned: Tuesday Oct. 14, 2011 Due Date: Tuesday Oct. 21, 2011 Solve L~ y
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 4

ma174_hw4 - Assigned Tuesday Oct 14 2011 Due Date Tuesday...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online