Assignment 5b: PKQ G pk1q G
Assignment 5b: PKQ G pk1q G
07/11/2017
xp k q Tg xpk1q cg
2. Find the first two iterations of the Jacobi method for the following linear systems, using
xp0q 0.
(a) (b)
4. Let xpkq Tj xpk1q cj and xpkq Tg xpk1q cg represent the Jacobi and Gauss-Seidel
methods repectively. Consider the following linear systems.
(a) (b)
What happens when you use Gauss-Seidel and Jacobi iterations to solve the above systems?
(Use your MATLAB/OCTAVE codes). Find ρpTg q and ρpTj q in both problems.
for Exercises 2 and 3 with k.k8 . How many iterations will ensure given T OL?