Problem Description: Use the Gauss-Seidel method with relaxation to solve the following system to a specified tolerance (approximate absolute percent relative error). If necessary, rearrange the equations to achieve convergence.
10x1 + 2x2- x3 = 27
x1 + x2 + 5x3 = -21.5
-3x1- 6x2 + 2x3 = -61.5
The relaxation parameter (2) should be an input parameter of your function.