Evaluate | dx approximately, using (a) the trapezodial rule, and (b) Simpson's rule, where the interval '1+x² [0, 1] is divided into n = 4 equal parts.

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

3.24) my professor says I have to explain the steps in the solved problems in the picture. Not just copy eveything down from the text.

 

 

Numerical methods for evaluating definite integrals
1
dx
5.24.
Evaluate
z approximately, using (a) the trapezodial rule, and (b) Simpson's rule, where the interval
.2
1+ x
[0, 1] is divided into n = 4 equal parts.
Let f(x) = 1/(1 + x²). Using the notation on Page 104, we find Ar = (b – a)/n = (1 – 0)/4 = 0.25. Then,
keeping four decimal places, we have yo = f(0) = 1.0000, y = f(0.25) = 0.9412, y2 = f(0.50) = 0.8000, y3 =
f(0.75) = 0.6400, and y, = f(1) = 0.50000.
%3D
%3D
(a) The trapezoidal rule gives
Ar
{Yo +2y, + 2y, + 2y; + y4} =
2
0.25
{1.0000 + 2(0.9412)+ 2(0.8000) + 2(0.6400) + 0.500}
= 0.7828.
(b) Simpson's rule gives
Ar
· {Yy, + 4y, + 2y, + 4y, + y,} =
3
0.25
{1.0000 + 4(0.9412) + 2(0.8000) + 4(0.6400) + 0.500}
2
= 0.7854.
The true value is t/4 - 0.7854.
Transcribed Image Text:Numerical methods for evaluating definite integrals 1 dx 5.24. Evaluate z approximately, using (a) the trapezodial rule, and (b) Simpson's rule, where the interval .2 1+ x [0, 1] is divided into n = 4 equal parts. Let f(x) = 1/(1 + x²). Using the notation on Page 104, we find Ar = (b – a)/n = (1 – 0)/4 = 0.25. Then, keeping four decimal places, we have yo = f(0) = 1.0000, y = f(0.25) = 0.9412, y2 = f(0.50) = 0.8000, y3 = f(0.75) = 0.6400, and y, = f(1) = 0.50000. %3D %3D (a) The trapezoidal rule gives Ar {Yo +2y, + 2y, + 2y; + y4} = 2 0.25 {1.0000 + 2(0.9412)+ 2(0.8000) + 2(0.6400) + 0.500} = 0.7828. (b) Simpson's rule gives Ar · {Yy, + 4y, + 2y, + 4y, + y,} = 3 0.25 {1.0000 + 4(0.9412) + 2(0.8000) + 4(0.6400) + 0.500} 2 = 0.7854. The true value is t/4 - 0.7854.
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Linear Equations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
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,