Simpson's rule for integrating a function over the interval [-h, h] can be written in the form, •h [*"* f (x)dx = w₁f (− h) + w₂f (0) +wsf(h) + E, (3) -h where w1, W2 and w3 are constants, and E represents the error term. Use the method of undetermined coefficients to find the constants w₁, W2 and w3. Calculate the Simpson's rule approximation to the integral I = = Cπ/2 cos(x)dx, (4) 0

Calculus For The Life Sciences
2nd Edition
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Chapter4: Calculating The Derivative
Section4.2: Derivatives Of Products And Quotients
Problem 35E
Question
Simpson's rule for integrating a function over the interval [-h, h] can be written
in the form,
ch
[^"^ f (x)dx = w₁f (− h) + waf (0) + waf (h) + E,
(3)
-h
where w₁, w2 and wз are constants, and E represents the error term. Use the
method of undetermined coefficients to find the constants w₁, W2 and w3. Calculate
the Simpson's rule approximation to the integral
I
=
Cπ/2
0
cos(x)dx,
and calculate the error from the actual answer.
(4)
Transcribed Image Text:Simpson's rule for integrating a function over the interval [-h, h] can be written in the form, ch [^"^ f (x)dx = w₁f (− h) + waf (0) + waf (h) + E, (3) -h where w₁, w2 and wз are constants, and E represents the error term. Use the method of undetermined coefficients to find the constants w₁, W2 and w3. Calculate the Simpson's rule approximation to the integral I = Cπ/2 0 cos(x)dx, and calculate the error from the actual answer. (4)
Expert Solution
steps

Step by step

Solved in 3 steps with 25 images

Blurred answer
Recommended textbooks for you
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,
Glencoe Algebra 1, Student Edition, 9780079039897…
Glencoe Algebra 1, Student Edition, 9780079039897…
Algebra
ISBN:
9780079039897
Author:
Carter
Publisher:
McGraw Hill
College Algebra
College Algebra
Algebra
ISBN:
9781305115545
Author:
James Stewart, Lothar Redlin, Saleem Watson
Publisher:
Cengage Learning
Trigonometry (MindTap Course List)
Trigonometry (MindTap Course List)
Trigonometry
ISBN:
9781337278461
Author:
Ron Larson
Publisher:
Cengage Learning