Description
Computer Assisted Questions:
2. Consider the linear system
x1 + x2 + 9×3 = 11
−6×1 + x2 − x3 = −6
x1 − 5×2 + x3 = −3
• Reorder the system to create an equivalent system that is diagonal dominant.
• Write a MATLAB script to solve the system using the Jacobi Iterative Method starting
at x
0 = (0, 0, 0). How many iterations are required to acquire 5 significant digits?
• Write a MATLAB script to solve the system using the Gauss Seidel Iterative Method
starting at x
0 = (0, 0, 0). How many iterations are required to acquire 5 significant
digits?
MATH/COSC 303