This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Call read_matrix(N, A) Call read_vector(N, b) Call Gauss(N,A,b,x) Call write_vector(N, x) End Sub Here, read_matrix , read_vector , and write_vector are the input/output subroutines discussed in class. Test your code for the system of equations from Problem 9.8 of the text-book. 4. (3 points) Solve the following system of equations LU x = 1 1 1 1 1 2 4 4 1 2 1 u v w = 2 2 (1) COT 3502 Computer Model Formulation Spring 2008 2 without multiplying matrices L and U . 5. (3 points) Use the Gauss-Jordan method to invert the following matrix: A = 2-1-1 2-1-1 2 (2)...
View Full Document
This note was uploaded on 02/07/2009 for the course COT 3502 taught by Professor Hawkins during the Spring '08 term at University of Florida.
- Spring '08