Problem 2. In this problem, we will practice a bit with numerical integration. We take the following facts for granted: for any a

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question
Problem 2. In this problem, we will practice a bit with numerical integration. We take
the following facts for granted: for any a <b, any f: [a, b] → R, and any n ≥ 1,
and
RIGHT(ƒ,n) – [*° f(x)dx ≤
2
1(b-a)²
n
Compute
SIMP(f,n) - [ f(x)dx ≤ max f(i)(x)\,
[ab]
max f'(x)|
z€[a,b]
(b-a)5
180n4
SIMP(f,n):
(S)
where RIGHT(f, n) is the right hand Riemann sum with n equal intervals and SIMP (f, n)
is the approximation of f f(x)dx using Simpson's rule with n equal intervals. Here f(iv)
is the fourth derivative of f.
(i) Suppose that f is a third degree polynomial f(x) = a3x³ + a₂x² + a₁ + ao. Argue
that, for any n, a, and b,
(L)
f(x)dr.
(ii) Show that the same is not true for RIGHT(f, n) by giving an example of a third degree
polynomial f, a natural number n, and endpoints a < b so that
RIGHT (f, n) + f(z)dr.
Hint: linear functions are third degree polynomials and n = 1 is a natural number...
(iii) For the remaining parts, use a = 0, b = 2, and
f(x)=
-4.
RIGHT(f, 4)
and
SIMP (f, 4).
You may do this by hand, by writing code, or by using an online calculator, but you
must document your computations (either via screenshots or by writing down your
work).
Transcribed Image Text:Problem 2. In this problem, we will practice a bit with numerical integration. We take the following facts for granted: for any a <b, any f: [a, b] → R, and any n ≥ 1, and RIGHT(ƒ,n) – [*° f(x)dx ≤ 2 1(b-a)² n Compute SIMP(f,n) - [ f(x)dx ≤ max f(i)(x)\, [ab] max f'(x)| z€[a,b] (b-a)5 180n4 SIMP(f,n): (S) where RIGHT(f, n) is the right hand Riemann sum with n equal intervals and SIMP (f, n) is the approximation of f f(x)dx using Simpson's rule with n equal intervals. Here f(iv) is the fourth derivative of f. (i) Suppose that f is a third degree polynomial f(x) = a3x³ + a₂x² + a₁ + ao. Argue that, for any n, a, and b, (L) f(x)dr. (ii) Show that the same is not true for RIGHT(f, n) by giving an example of a third degree polynomial f, a natural number n, and endpoints a < b so that RIGHT (f, n) + f(z)dr. Hint: linear functions are third degree polynomials and n = 1 is a natural number... (iii) For the remaining parts, use a = 0, b = 2, and f(x)= -4. RIGHT(f, 4) and SIMP (f, 4). You may do this by hand, by writing code, or by using an online calculator, but you must document your computations (either via screenshots or by writing down your work).
Expert Solution
steps

Step by step

Solved in 5 steps

Blurred answer
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
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…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,