Enter the total number of variables= 5
Enter your roll no= 128
Enter the entries of the coefficient matrix
a_11-89
a_12-7
a_13--6
a_14-5
a_15-1
a_21-6
a_22-216
a_23-2
a_24-8
a_25-2
a_31--1
a_32--11
a_33-66
a_34-0
a_35-0
a_41-0
a_42-2
a_43-5
a_44-39
a_45--1
a_51-11
a_52-9
a_53-2
a_54--7
a_55-88
Enter the coordinates of b-
b_1-313
b_2-229
b_3-6
b_4--157
b_5-88
Enter the initial approximation
x0_1= 0
x0_2= 0
x0_3= 0
x0_4= 0
x0_5= 0
Enter the value of w= 0.7
Enter error tolerance E= 0.001
Iterations x1 x2 x3 x4 x5 maxerror
1 2.461798 0.694261 0.172583 -2.858359 0.272986 2.858359
2 3.280519 0.957838 0.262250 -3.728476 0.214497 0.870116
3 3.550533 1.054017 0.302672 -3.997641 0.150808 0.270014
4 3.639235 1.088275 0.319536 -4.082276 0.116507 0.088703
5 3.668354 1.100294 0.326235 -4.109316 0.101196 0.029119
6 3.677928 1.104470 0.328810 -4.118083 0.094937 0.009574
7 3.681086 1.105912 0.329775 -4.120964 0.092504 0.003158
8 3.682131 1.106409 0.330131 -4.121922 0.091587 0.001046
9 3.682479 1.106580 0.330261 -4.122243 0.091250 0.000348
--------------------------------
Process exited after 121.1 seconds with return value 0