Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Suppose A n ( a ) is the symmetric n n tridiagonal matrix with the constant value a on its main diagonal and - 1
Suppose is the symmetric tridiagonal matrix with the constant value on its main diagonal and on the sub and superdiagonals and let where is a vector of ones. Produce a jupyter notebook which plots a graph that shows the following three things:
The number of iterations it takes the conjugate gradient method to solve the system b with an error tolerance of for a given value of as a varies from to
The number of iterations it takes the SOR method with to solve the system with an error tolerance of for a given value of as a varies from to
The number of iterations it takes the SOR method with to solve the system with an error tolerance of for a given value of as a varies from to
Plot these graphs for and
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started