Engineering MathematicsVery hardGATE CS · GATE EC

The system 4x − y = 3, −x + 4y − z = 5, −y + 4z = 7 is solved by Gauss–Seidel iteration, starting at (0, 0, 0) and using each updated value immediately. What is z after the second iteration?

  1. A. 2.063
  2. B. 2.286
  3. C. 2.264
  4. D. 2.109

Correct answer: C. 2.264

Iteration 1: x = 0.75, y = 1.4375, z = 2.1094. Iteration 2: x = (3 + 1.4375)/4 = 1.1094, y = (5 + 1.1094 + 2.1094)/4 = 2.0547, z = (7 + 2.0547)/4 = 2.2637. Jacobi would give 2.0625 and the exact solution has z = 2.2857.

More Engineering Mathematics (GATE) questions

Exams that ask this topic