3. Whenever printing a value to the screen, also print a statement defining the value and
any units. Example: Do \"the distance x is 23 meters\"; Don't \"23\".
Problem 1 [120]
Write a C program(s) that uses the Gauss-Jordan, Gauss-Seidel, and Jacobi methods to
solve the following set of linear equations:
Ax = c
10$x_1$ + 2$x_2$ + 3$x_3$ + 5$x_4$ = 7
$x_1$ -- 11$x_2$ + $x_3$ -- $x_4$ = 1
$x_1$ + 2$x_2$ + 6$x_3$ + 24$x_4$ = 12
2$x_1$ + 4$x_2$ + 18$x_3$ + 0$x_4$ = 32
Print the values of x produced by the three methods. Also print the number of iterations
required for convergence for the Gauss-Seidel and Jacobi methods. You can (should) confirm
your outputs are correct using matrix inversion in Matlab.
For the Gauss-Seidel and Jacobi methods, specify a reasonable convergence tolerance and
maximum number of iterations. Recall that there are certain conditions that must be met
for these methods to be effective. You may need to modify this system before the algorithms
begin.