1 / 68

CPE 332 Computer Engineering Mathematics II

CPE 332 Computer Engineering Mathematics II. Part III, Chapter 10 Numerical Differentiation and Integration. Today Topics. Chapter 10 Numerical Differentiation and Integration Derivative Approximation Forward, Backward, Centered Difference High Order Derivative High Accuracy Approximation

aleta
Download Presentation

CPE 332 Computer Engineering Mathematics II

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CPE 332Computer Engineering Mathematics II Part III, Chapter 10 Numerical Differentiation and Integration

  2. Today Topics • Chapter 10 Numerical Differentiation and Integration • Derivative Approximation • Forward, Backward, Centered Difference • High Order Derivative • High Accuracy Approximation • Integral Approximation • Polynomial • Zero Order • First Order (Trapezoidal) • Second Order (Simpson 1/3) • Third Order (Simpson 3/8) • More Accurate Method • Richardson Extrapolation

  3. Slope of Line m=slope = tan  = (y2-y1)/ (x2-x1) (x2,y2) (y2-y1)   (x1,y1) (x2-x1)

  4. Definition of Derivative • Derivative of f(x) at any point x is the slope of the tangent line at that point (x,f(x)) • Mathematically • For function y=f(x), derivative of function is written in many forms

  5. Approximation of slope at point xusing secant line • Slope at ‘x’  [f(x+x) - f(x)] / x = y / x As x approaches 0, we have y/x approach a true slope of f at x. (x+x, f(x+x)) f(x+x) - f(x) =y (x, f(x)) x

  6. Derivative(Forward) y

  7. Derivative(Backward) y

  8. Derivative(Central) y

  9. Introduction h h f(xi+1) f(xi) f(xi-1) xi-1 xi xi+1

  10. Finite Divided-Difference

  11. Finite Divided-Difference

  12. Finite Divided-Difference

  13. Second Derivative

  14. Second Derivative

  15. High Accuracy Finite Divided-Difference

  16. High Accuracy Finite Divided-Difference

  17. Summary

  18. Summary

  19. Summary

  20. Numerical Integration • Newton-Cotes Integration Formula • Zero-OrderApproximation • First-Order Approximation • Trapezoidal Rule • Second-Order Approximation • Simpson 1/3 rule • Third-Order Approximation • Simpson 3/8 rule • Romberg Integration • Richardson Extrapolation • Romberg Integration Algorithm

  21. Integral Approximation

  22. Integral Approximation x0 x1 x2 x3 x4 xn-1 xn

  23. Zero-Order Approximation x0 x1 x2 x3 x4 xn-1 xn

  24. Zero-Order Approximation • a0=f(a) x0 x1 x2 x3 x4 xn-1 xn

  25. Zero-Order Approximation • a0=f((a+b)/2) x0 x1 x2 x3 x4 xn-1 xn

  26. Zero-Order Approximation

  27. First-Order Approximation x0 x1 x2 x3 x4 xn-1 xn

  28. First-Order Approximation

  29. First-Order Approximation

  30. First-Order Approximation

  31. Trapezoidal Rule

  32. Trapezoidal Rule

  33. Second-Order Approximation x0 x1 x2 x3 x4 xn-1 xn Simpson’s 1/3 Rule

  34. Second-Order Approximation

  35. Second-Order Approximation

  36. Second-Order Approximation 3n

  37. Second-Order Approximation

  38. Third-Order Approximation x0 x1 x2 x3 x4 xn-1 xn Simpson’s 3/8 Rule

More Related