[4] [Computational cost as a function of error tolerance] Recall from Lecture 19 that the error in the Composite Trapezoidal Rule (CTR) using n subintervals of width h is given by -12²2 (6- 12 -(b − a) ƒ" (µ) (1) for some μ € (a, b). (a) Determine the values of n and h that are sufficient to approximate 2 S² x ln(x) dx (2) to within an error tolerance of T = 10-5; that is, determine n and h so that the absolute error when applying the CTR to (2) is smaller that 7. (Hint: take the absolute value of (1) and then say that the result is less than or equal to (1) when f"(µ) is replaced with the maximum value of |ƒ"(x)| on [1,2]. Then, determine n and h that make the resulting quantity less than 7). (b) Repeat part (a) for the case of Composite Simpson's Rule. For this integral, which method is superior?
[4] [Computational cost as a function of error tolerance] Recall from Lecture 19 that the error in the Composite Trapezoidal Rule (CTR) using n subintervals of width h is given by -12²2 (6- 12 -(b − a) ƒ" (µ) (1) for some μ € (a, b). (a) Determine the values of n and h that are sufficient to approximate 2 S² x ln(x) dx (2) to within an error tolerance of T = 10-5; that is, determine n and h so that the absolute error when applying the CTR to (2) is smaller that 7. (Hint: take the absolute value of (1) and then say that the result is less than or equal to (1) when f"(µ) is replaced with the maximum value of |ƒ"(x)| on [1,2]. Then, determine n and h that make the resulting quantity less than 7). (b) Repeat part (a) for the case of Composite Simpson's Rule. For this integral, which method is superior?
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
Composite trapezoidal rule
Expert Solution
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
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
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…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
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…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,