[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?

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter7: Analytic Trigonometry
Section7.6: The Inverse Trigonometric Functions
Problem 92E
icon
Related questions
Question

Composite trapezoidal rule 

[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
-h²
12
(b − a) ƒ" (µ)
for some μ € (a, b).
(a) Determine the values of n and h that are sufficient to approximate
2
[²₂
(1)
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?
Transcribed Image Text:[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 -h² 12 (b − a) ƒ" (µ) for some μ € (a, b). (a) Determine the values of n and h that are sufficient to approximate 2 [²₂ (1) 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?
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Functions and Change: A Modeling Approach to Coll…
Functions and Change: A Modeling Approach to Coll…
Algebra
ISBN:
9781337111348
Author:
Bruce Crauder, Benny Evans, Alan Noell
Publisher:
Cengage Learning
Trigonometry (MindTap Course List)
Trigonometry (MindTap Course List)
Trigonometry
ISBN:
9781337278461
Author:
Ron Larson
Publisher:
Cengage Learning
College Algebra
College Algebra
Algebra
ISBN:
9781337282291
Author:
Ron Larson
Publisher:
Cengage Learning
Calculus For The Life Sciences
Calculus For The Life Sciences
Calculus
ISBN:
9780321964038
Author:
GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:
Pearson Addison Wesley,