Guass Seidel Examples
Guass Seidel Examples
The right hand side values are the light intensities from the middle of the images, while the
coefficient matrix is dependent on the light source directions with respect to the camera. The
unknowns are the incident intensities that will determine the shape of the object.
Find the values of , , and using the Gauss-Seidel method. Use
Solution
Rewriting the equations gives
Iteration #1
Given the initial guess of the solution vector as
we get
The absolute relative approximate error for each then is
At the end of the first iteration, the estimate of the solution vector is
Now we get
At the end of the second iteration, the estimate of the solution vector is
Iteration
1 1058.6 99.055 1062.7 99.059 –783.81 101.28
2 –2117.0 150.00 –2112.9 150.295 803.98 197.49
3 4234.8 149.99 4238.9 149.85 –2371.9 133.90
4 –8470.1 150.00 –8466.0 150.07 3980.5 159.59
5 16942 149.99 16946 149.96 –8725.7 145.62
6 –33888 150.00 –33884 150.01 16689 152.28
After six iterations, the absolute relative approximate errors are not decreasing. In fact,
conducting more iterations reveals that the absolute relative approximate error does not
approach zero but approaches .