$24
For each one of the following systems of linear equations:
I)
= 8x1 + 3x2
= 12x2 + 6x3
= x1 + 10x3
II)
4x1 + x2 = 2
2x1 + 3x2 + 2x3 = 1
2x1 + x2 + 5x3 = 1
III)
x1 + x2 − x3 = −3
6x1 + 2x2 + 2x3 = 2
−3x1 + 4x2 + x3 = 1
Use Gaussian Elimination to compute the inverse of A.
Use the inverse to solve the system of equations.
Can the LU decomposition be computed without pivoting? If so, provide the LU decomposition of A.
Use Jacobi’s Method to solve the system of equations. Start with a vector of 1’s as initial approximation, ǫ = 10−4. It is recommended that you use Excel or write a program in Matlab to help you.
Use Gauss-Seidel’s Method to solve the system of equations. Start with a vector of 1’s as initial approximation, ǫ = 10−4. It is rec-ommended that you use Excel or write a program in Matlab to help you.
1