next up previous
Next: Iterative Methods Up: No Title Previous: refine.f

HOMEWORK

For the 19X19 tridiagonal system with -2 on the diagonal, 1 on the sub- and super-diagonals, and a rhs b = 0.0025 * (1,1,1,...,1,1), solve via the tridiagonal solver, and via the LU-decomposition. You have the codes; you need to write driver routines. Use iterative refinement with the LU solver. e-mail your two codes to the grader. As always, you should test your code on examples for which you can compute an exact solution.



E. Bruce Pitman
Wed Oct 28 09:33:45 EST 1998