Question: SOLVE Q2 Write a Matlab Code to find an approximate solution using the Gauss-Seidel iterative technique for the following system of equations: 10x1 - x2

SOLVE Q2
Write a Matlab Code to find an approximate solution using the Gauss-Seidel iterative technique for the following system of equations: 10x1 - x2 + 2x3 = 6, -x1 + 11x2 - x3 + 3x4 = 25, 2x1 -x2+ 10x3 - x4 = -11, 3x2 - x3 + 8x4 = 15 Show the answer for each step (iteration) and stop at error equal 10^-4 Provide the Matlab code separately Use the same program you used to solve Q1 to solve the following system of equations: x_1 =x_0 + x_2/2, x_2 = x_1 + x_3/2, x_3 = x_2 + x_4/2 x_4 = x_3 + x_5/2 with x_0 = 0 and x_5 = 10 Show the answer for each step (iteration) and stop at error equal 10^-4 Provide the Matlab code separately
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
