348 CHAPTER 12 - 2-norm of the right-hand side vector: ||b- Ax)||/|bl|. Comment on how the number of iterations required to reduce this quantity below a given level, say, 10-6, appears to be related to the matrix size. For a right-hand side vector, take b = (b₁,..., b), where b; = (i/(n + 1))², i = 1,...,n, and take the initial guess x(0) to be the zero vector. (We will see in chapter 13 that this corresponds to a finite difference method for the two-point boundary value problem: u"(x) = x², 0 < x < 1, u(0) = u(1) = 0, whose solution is u(x) = (x - x). The entries in the solution vector (x-x). 12 x of the linear system are approximations to u at the points i/(n + 1), i = 1,..., n.) 10. Implement the conjugate gradient algorithm for the matrix A in Exercise 5; that is, A = 2-1 -1 2. -1 -12 Try some different matrix sizes, say, n = 10, 20, 40, 80, and base your convergence criterion on the 2-norm of the residual divided by the
348 CHAPTER 12 - 2-norm of the right-hand side vector: ||b- Ax)||/|bl|. Comment on how the number of iterations required to reduce this quantity below a given level, say, 10-6, appears to be related to the matrix size. For a right-hand side vector, take b = (b₁,..., b), where b; = (i/(n + 1))², i = 1,...,n, and take the initial guess x(0) to be the zero vector. (We will see in chapter 13 that this corresponds to a finite difference method for the two-point boundary value problem: u"(x) = x², 0 < x < 1, u(0) = u(1) = 0, whose solution is u(x) = (x - x). The entries in the solution vector (x-x). 12 x of the linear system are approximations to u at the points i/(n + 1), i = 1,..., n.) 10. Implement the conjugate gradient algorithm for the matrix A in Exercise 5; that is, A = 2-1 -1 2. -1 -12 Try some different matrix sizes, say, n = 10, 20, 40, 80, and base your convergence criterion on the 2-norm of the residual divided by the
Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
Related questions
Question
![348
CHAPTER 12
-
2-norm of the right-hand side vector: ||b- Ax)||/|bl|. Comment on how
the number of iterations required to reduce this quantity below a given
level, say, 10-6, appears to be related to the matrix size. For a right-hand
side vector, take b = (b₁,..., b), where b; = (i/(n + 1))², i = 1,...,n,
and take the initial guess x(0) to be the zero vector. (We will see in chapter
13 that this corresponds to a finite difference method for the two-point
boundary value problem: u"(x) = x², 0 < x < 1, u(0) = u(1) = 0,
whose solution is u(x) = (x - x). The entries in the solution vector
(x-x).
12
x of the linear system are approximations to u at the points i/(n + 1),
i = 1,..., n.)](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fc6389447-1237-4af0-b5c6-eb1260425b55%2Fac56593d-4f55-4c35-9d5a-4aecf84a5afa%2Fy03gkdg_processed.jpeg&w=3840&q=75)
Transcribed Image Text:348
CHAPTER 12
-
2-norm of the right-hand side vector: ||b- Ax)||/|bl|. Comment on how
the number of iterations required to reduce this quantity below a given
level, say, 10-6, appears to be related to the matrix size. For a right-hand
side vector, take b = (b₁,..., b), where b; = (i/(n + 1))², i = 1,...,n,
and take the initial guess x(0) to be the zero vector. (We will see in chapter
13 that this corresponds to a finite difference method for the two-point
boundary value problem: u"(x) = x², 0 < x < 1, u(0) = u(1) = 0,
whose solution is u(x) = (x - x). The entries in the solution vector
(x-x).
12
x of the linear system are approximations to u at the points i/(n + 1),
i = 1,..., n.)
![10. Implement the conjugate gradient algorithm for the matrix A in Exercise
5; that is,
A =
2-1
-1 2.
-1
-12
Try some different matrix sizes, say, n
=
10, 20, 40, 80, and base
your convergence criterion on the 2-norm of the residual divided by the](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fc6389447-1237-4af0-b5c6-eb1260425b55%2Fac56593d-4f55-4c35-9d5a-4aecf84a5afa%2F0gpe9e8_processed.jpeg&w=3840&q=75)
Transcribed Image Text:10. Implement the conjugate gradient algorithm for the matrix A in Exercise
5; that is,
A =
2-1
-1 2.
-1
-12
Try some different matrix sizes, say, n
=
10, 20, 40, 80, and base
your convergence criterion on the 2-norm of the residual divided by the
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Advanced Engineering Mathematics](https://www.bartleby.com/isbn_cover_images/9780470458365/9780470458365_smallCoverImage.gif)
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
![Numerical Methods for Engineers](https://www.bartleby.com/isbn_cover_images/9780073397924/9780073397924_smallCoverImage.gif)
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
![Introductory Mathematics for Engineering Applicat…](https://www.bartleby.com/isbn_cover_images/9781118141809/9781118141809_smallCoverImage.gif)
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
![Advanced Engineering Mathematics](https://www.bartleby.com/isbn_cover_images/9780470458365/9780470458365_smallCoverImage.gif)
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
![Numerical Methods for Engineers](https://www.bartleby.com/isbn_cover_images/9780073397924/9780073397924_smallCoverImage.gif)
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
![Introductory Mathematics for Engineering Applicat…](https://www.bartleby.com/isbn_cover_images/9781118141809/9781118141809_smallCoverImage.gif)
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
![Mathematics For Machine Technology](https://www.bartleby.com/isbn_cover_images/9781337798310/9781337798310_smallCoverImage.jpg)
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
![Basic Technical Mathematics](https://www.bartleby.com/isbn_cover_images/9780134437705/9780134437705_smallCoverImage.gif)
![Topology](https://www.bartleby.com/isbn_cover_images/9780134689517/9780134689517_smallCoverImage.gif)