HW_04-10-F

# HW_04-10-F - for the following problem for a specified...

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

ChE 348 Homework # 4 ____________________________________________Due: Thursday, 7 October 2010 LU Factorization 1. Write an LU factorization code and use it to solve the systems of equations Ax = b ( Problem 5 of HW#3 ) Iteration Methods 2. Use the Gauss-Seidel method to solve the following system by hand. Show the first two iterations. 10 x 1 + 2 x 2 – 1 x 3 = 15 -3 x 1 – 6 x 2 + 2 x 3 = -7 x 1 + x 2 + 5 x 3 = 3 3. Write a computer code that does Gauss-Seidel
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: for the following problem, for a specified number of iterations. How many iterations does it take to get convergence, in the sense that the consecutive iterates differ by less than 10-6 ? A = ⎥ ⎥ ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ − − − − − − − − − − 79 39 16 32 5 49 47 5 2 3 16 5 26 15 9 32 2 15 42 14 5 3 9 14 15 and b = (-15, -100, 106, 229, 363) T ....
View Full Document

## This note was uploaded on 11/28/2010 for the course CHE 348 taught by Professor Chelikowsky during the Spring '08 term at University of Texas.

Ask a homework question - tutors are online