Docsity

Math 151B HW 6: Solving BVP with SOR & Comparison to Direct Tridiagonal Method - Prof. J. , Assignments of Mathematics

Partial preview of the text

Download Math 151B HW 6: Solving BVP with SOR & Comparison to Direct Tridiagonal Method - Prof. J. and more Assignments Mathematics in PDF only on Docsity!

Math 151B Homework #6 โ€“ Due Friday 2/

  1. SOR Consider the boundary value problem

d^2 y dx^2

= โˆ’y, y(0) = 0 y(1) = 1

a. Solve this system exactly.

b. Solve this system using SOR, with ฯ‰ = 1, h = 0.1, and an Lโˆž tolerance of 10โˆ’^4.

c. Try a few different ฯ‰s and see if you can speed up the convergence. d. Which takes more operations, SOR or direct tridiagonal (LU factorization, forward and backward difference)?