hey i got this assignment in maths.i really need help guys.the question is below.The program should:
It first clears the screen and then displays the next 3 lines.
a1x + b1y + c1y =d1
a2x + b2y + c2y =d2
a3x + b3y + c3y =d3
The user is then required to input the integer values for a, b, c, d and the required accuracy for which he wants the calculation. ( e.g. 3 decimal places etc.)
The user is then required to select either (1) Gauss Jacobi.
(2) Gauss Seidel.
As final output the number of iterations performed and the correct value for x, y and z should be displayed.
It first clears the screen and then displays the next 3 lines.
a1x + b1y + c1y =d1
a2x + b2y + c2y =d2
a3x + b3y + c3y =d3
The user is then required to input the integer values for a, b, c, d and the required accuracy for which he wants the calculation. ( e.g. 3 decimal places etc.)
The user is then required to select either (1) Gauss Jacobi.
(2) Gauss Seidel.
As final output the number of iterations performed and the correct value for x, y and z should be displayed.
Comment