Question: Q 3 ( 1 0 pts . ) Use the Gauss - Seidel method to solve the following system until the approximate relative error falls

Q3
(10 pts.) Use the Gauss-Seidel method to solve the following system until the approximate relative
error falls below lonA=.0005. If necessary, rearrange the equations to achieve convergence.
-3x1+x2+12x3=50
6x1-x2-x3=3
6x1+9x2+x3=40
a) using a built-in function in matlab (linsolve) or python (numpy.linalg.solve)
b) using a python or matlab script of Gauss-Seidel method that you write.
c) what goes wrong, if anything, if the equations are not reordered?
Solve it by hand then write me a MATLAB code
Q 3 ( 1 0 pts . ) Use the Gauss - Seidel method

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!