Exercice Set 7 PDF
Exercice Set 7 PDF
+1)/3;
= (-
)/6;
= (-
+4)/7;
xx= [
];
i=1;
While norm (xx,inf) 1
=
= (
)/3;
= (
)/6;
= (
)/7;
1
xx= [
];
i=i+1
end
i
norm(xx,inf)
i=9
ans= 7.5076e-004
= 0.0351
= -0.2366
= 0.6581
4: Repeating Exercise 3 by the Gauss-seidel Algorithm.
Solution
= 0;
= 0;
= 0;
= (
)/3;
= (
)/6;
= (
)/7;
xx= [
];
i=1
While norm (xx,inf) 1
=
;
2
xx= [
];
i= i+1;
end
i
norm(xx,inf)
i=6
ans= 7.9814e-004
= 0.0354
= -0.2368
= 0.6578