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 textbook. 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 GaussJordan method to invert the following matrix: A = 211 211 2 (2)...
View
Full Document
 Spring '08
 Hawkins
 Vector Space, Subroutine, VB subroutine Gauss

Click to edit the document details