34 Post Notes

11
34BNumericalMethods 1 Numerical Integration

Transcript of 34 Post Notes

8/18/2019 34 Post Notes

http://slidepdf.com/reader/full/34-post-notes 1/11

34BNumericalMethods

Numerical Integration

8/18/2019 34 Post Notes

http://slidepdf.com/reader/full/34-post-notes 2/11

34BNumericalMethods

If f(x) is continuous, we are guaranteed that exists, but sometimes we cannot evaluate

the integral. For these cases, we use numerical methods to approximate the definite integral

(area under the curve.)

1. Left Riemann Sum

8/18/2019 34 Post Notes

http://slidepdf.com/reader/full/34-post-notes 3/11

34BNumericalMethods

2. Right Riemann Sum

8/18/2019 34 Post Notes

http://slidepdf.com/reader/full/34-post-notes 4/11

34BNumericalMethods

3. Midpoint Riemann Sum

8/18/2019 34 Post Notes

http://slidepdf.com/reader/full/34-post-notes 5/11

34BNumericalMethods

4. Trapezoidal Rule

8/18/2019 34 Post Notes

http://slidepdf.com/reader/full/34-post-notes 6/11

34BNumericalMethods

5. Simpson's Rule

8/18/2019 34 Post Notes

http://slidepdf.com/reader/full/34-post-notes 7/11

34BNumericalMethods

EX 1

Use methods 2, 4 and 5 to approximate this integral. Let n = 8

Right Riemann Sum Rule

8/18/2019 34 Post Notes

http://slidepdf.com/reader/full/34-post-notes 8/11

34BNumericalMethods

Let n = 8. Trapezoidal Rule

8/18/2019 34 Post Notes

http://slidepdf.com/reader/full/34-post-notes 9/11

34BNumericalMethods

Let n = 8. Simpson's Rule

8/18/2019 34 Post Notes

http://slidepdf.com/reader/full/34-post-notes 10/11

34BNumericalMethods

 Actual Value

8/18/2019 34 Post Notes

http://slidepdf.com/reader/full/34-post-notes 11/11

34BNumericalMethods