Mathematically, integration is just finding the area under a curve from one point to another. It is b

Similar documents
Chapter Simpson s 1/3 Rule of Integration. ( x)

Numerical Differentiation and Integration

Chapter 12-b Integral Calculus - Extra

Chapter Simpson s 1/3 Rule of Integration. ( x)

Chapter Trapezoidal Rule of Integration

MTH 146 Class 7 Notes

Numerical Methods. Lecture 5. Numerical integration. dr hab. inż. Katarzyna Zakrzewska, prof. AGH. Numerical Methods lecture 5 1

CS321. Numerical Analysis

In Calculus I you learned an approximation method using a Riemann sum. Recall that the Riemann sum is

this is the indefinite integral Since integration is the reverse of differentiation we can check the previous by [ ]

Numerical Analysis Topic 4: Least Squares Curve Fitting

Numerical differentiation (Finite difference)

under the curve in the first quadrant.

14.2 Line Integrals. determines a partition P of the curve by points Pi ( xi, y

Area and the Definite Integral. Area under Curve. The Partition. y f (x) We want to find the area under f (x) on [ a, b ]

UNIVERSITI KEBANGSAAN MALAYSIA PEPERIKSAAN AKHIR SEMESTER I SESI AKADEMIK 2007/2008 IJAZAH SARJANAMUDA DENGAN KEPUJIAN NOVEMBER 2007 MASA : 3 JAM

Chapter Gauss-Seidel Method

INTERPOLATION(2) ELM1222 Numerical Analysis. ELM1222 Numerical Analysis Dr Muharrem Mercimek

CS321. Introduction to Numerical Methods

3/20/2013. Splines There are cases where polynomial interpolation is bad overshoot oscillations. Examplef x. Interpolation at -4,-3,-2,-1,0,1,2,3,4

Integration by Parts for D K

Differential Entropy 吳家麟教授

12 Iterative Methods. Linear Systems: Gauss-Seidel Nonlinear Systems Case Study: Chemical Reactions

Chapter 1. Infinite Sequences and Series. 1.1 Sequences. A sequence is a set of numbers written in a definite order

Trapezoidal Rule of Integration

Simpson s 1/3 rd Rule of Integration

Trapezoidal Rule of Integration

19 22 Evaluate the integral by interpreting it in terms of areas. (1 x ) dx. y Write the given sum or difference as a single integral in

20 23 Evaluate the integral by interpreting it in terms of areas. (1 x ) dx. y 2 2

FORMULAE FOR FINITE DIFFERENCE APPROXIMATIONS, QUADRATURE AND LINEAR MULTISTEP METHODS

Gauss Quadrature Rule of Integration

Strategies for the AP Calculus Exam

Chapter Gauss Quadrature Rule of Integration

Advanced Algorithmic Problem Solving Le 3 Arithmetic. Fredrik Heintz Dept of Computer and Information Science Linköping University

Chapter 2 Intro to Math Techniques for Quantum Mechanics

PowerPoints organized by Dr. Michael R. Gustafson II, Duke University Revised by Prof. Jang, CAU

Implicit Runge-Kutta method for Van der pol problem

Soo King Lim Figure 1: Figure 2: Figure 3: Figure 4: Figure 5: Figure 6: Figure 7: Figure 8: Figure 9: Figure 10: Figure 11:

ENGI 4430 Numerical Integration Page 5-01

Matrix. Definition 1... a1 ... (i) where a. are real numbers. for i 1, 2,, m and j = 1, 2,, n (iii) A is called a square matrix if m n.

Numerical Integration

The z-transform. LTI System description. Prof. Siripong Potisuk

CHAPTER 5 Vectors and Vector Space

Outline. Finite Difference Grids. Numerical Analysis. Finite Difference Grids II. Finite Difference Grids III

Module 2: Introduction to Numerical Analysis

Asymptotic Dominance Problems. is not constant but for n 0, f ( n) 11. 0, so that for n N f

ITERATIVE METHODS FOR SOLVING SYSTEMS OF LINEAR ALGEBRAIC EQUATIONS

Numerical Analysis Third Class Chemical Engineering Department University of Technology Assoc. Prof. Dr. Zaidoon Mohsin shakor

ICS141: Discrete Mathematics for Computer Science I

Section 5.1/5.2: Areas and Distances the Definite Integral

Limit of a function:

Chapter 5. Curve fitting

Gauss Quadrature Rule of Integration

Chapter Runge-Kutta 2nd Order Method for Ordinary Differential Equations

Approximate Integration

CHAPTER 4 RADICAL EXPRESSIONS

МИНИСТЕРСТВО ОБРАЗОВАНИЯ И НАУКИ РОССИЙСКОЙ ФЕДЕРАЦИИ. Численные методы. Учебно-методическое пособие

6.6 Moments and Centers of Mass

Introduction to Numerical Integration Part II

Diagonally Implicit Runge-Kutta Nystrom General Method Order Five for Solving Second Order IVPs

SOME REMARKS ON HORIZONTAL, SLANT, PARABOLIC AND POLYNOMIAL ASYMPTOTE

Thomas J. Osler Mathematics Department Rowan University Glassboro NJ Introduction

. The set of these sums. be a partition of [ ab, ]. Consider the sum f( x) f( x 1)

SOLVING INITIAL VALUE PROBLEM USING RUNGE-KUTTA 6 th ORDER METHOD

TEACHERS ASSESS STUDENT S MATHEMATICAL CREATIVITY COMPETENCE IN HIGH SCHOOL

DATA FITTING. Intensive Computation 2013/2014. Annalisa Massini

Some Unbiased Classes of Estimators of Finite Population Mean

PROBLEM SET #4 SOLUTIONS by Robert A. DiStasio Jr.

Problem Set 4 Solutions

B. Examples 1. Finite Sums finite sums are an example of Riemann Sums in which each subinterval has the same length and the same x i

Optimality of Strategies for Collapsing Expanded Random Variables In a Simple Random Sample Ed Stanek

UNIT I. Definition and existence of Riemann-Stieltjes

ON JENSEN S AND HERMITE-HADAMARD S INEQUALITY

PAIR OF STRAIGHT LINES. will satisfy L1 L2 0, and thus L1 L. 0 represent? It is obvious that any point lying on L 1

Roberto s Notes on Integral Calculus Chapter 4: Definite integrals and the FTC Section 2. Riemann sums

Computational Methods CMSC/AMSC/MAPL 460. Quadrature: Integration

PubH 7405: REGRESSION ANALYSIS REGRESSION IN MATRIX TERMS

The definite Riemann integral

MATLAB PROGRAM FOR THE NUMERICAL SOLUTION OF DUHAMEL CONVOLUTION INTEGRAL

General Method for Calculating Chemical Equilibrium Composition

Lecture 3: Review of Linear Algebra and MATLAB

Lecture 3-4 Solutions of System of Linear Equations

ME 501A Seminar in Engineering Analysis Page 1

GENERALIZED OPERATIONAL RELATIONS AND PROPERTIES OF FRACTIONAL HANKEL TRANSFORM

Differentiation and Numerical Integral of the Cubic Spline Interpolation

Appendix A Examples for Labs 1, 2, 3 1. FACTORING POLYNOMIALS

COMPLEX NUMBERS AND DE MOIVRE S THEOREM

The Z-Transform in DSP Lecture Andreas Spanias

General properties of definite integrals

Shuai Dong. Isaac Newton. Gottfried Leibniz

Numerical Integration - (4.3)

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses

Numerical Solution of Higher Order Linear Fredholm Integro Differential Equations.

Recall from the previous lecture: Extreme Value Theorem Suppose a real-valued function f( x1,, x n. ) is continuous on a closed and bounded

148 CIVIL ENGINEERING

Johns Hopkins University Department of Biostatistics Math Review for Introductory Courses

Math 1313 Final Exam Review

SOLVING SYSTEMS OF EQUATIONS, DIRECT METHODS

Mu Sequences/Series Solutions National Convention 2014

Section 2.1 Special Right Triangles

Transcription:

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] CHAPTER VI Numerl Itegrto Tops - Rem sums - Trpezodl rule - Smpso s rule - Rrdso s etrpolto - Guss qudrture rule Mtemtlly, tegrto s just dg te re uder urve rom oe pot to oter It s d represeted y, were te symol s tegrl sg, te umers d re te lower d upper lmts o tegrto, respetvely, te uto s te tegrd o te tegrl, d s te vrle o tegrto Fgure represets grpl demostrto o te oept Wy re we terested tegrto: euse most equtos pyss re deretl equtos tt must e tegrted to d te solutos Furtermore, some pysl quttes e oted y tegrto emple: dsplemet rom veloty Te prolem s tt sometmes tegrtg lytlly some utos esly eome lorous For ts reso, wde vrety o umerl metods ve ee developed to d te tegrl I Rem Sums Fgure- Itegrto Let e deed o te losed tervl [, ], d let e rtrry prtto o [, ] su s: < < < < - <, were s te legt o te t sutervl I s y pot te t sutervl, te te sum Δ, Numerl Itegrto 8

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] - - s lled Rem Sum o te uto or te prtto o te tervl [, ] For gve prtto, te legt o te logest sutervl s lled te orm o te prtto It s deoted y te orm o Te ollowg lmt s used to dee te dete tegrl: lm Δ Δ I Ts lmt ests d oly or y postve umer ε, tere ests postve umer δ su tt or every prtto o [, ] wt < δ, t ollows tt I Δ < ε or y oe o te umers te t sutervl o I te lmt o Rem Sum o ests, te te uto s sd to e tegrle over [, ] d tt te Rem Sums o o [, ] ppro te umer I Emple lm Δ I, Δ Were I d Fd te re o te rego etwee te prol y d te -s o te tervl [, ] Use Rem s Sum wt our prttos TRAPEZOIDAL RULE Trpezodl rule s sed o te Newto-Cotes ormul tt we ppromte te tegrd y t order polyoml, te te tegrl o te uto s ppromted y te tegrl o tt t order polyoml d, Numerl Itegrto 8

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] So we wt to ppromte te tegrl d I to d te vlue o te ove tegrl, we wrte our uto uder polyoml orm: were were s order polyoml Trpezodl rule ssumes t, tt s, te re uder te ler polyoml strgt le, d d DERIVATION OF THE TRAPEZOIDAL RULE We ve: d d d But wt s d? Now we oose, d s te two pots to ppromte y strgt le rom to,,, Solvg te ove two equtos or d, Hee we get, d d Numerl Itegrto 8

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] Emple Te vertl dste overed y roket rom t 8 to t seods s gve y 8 l 98t dt t Use sgle segmet Trpezodl rule to d te dste overed Fd te true error, E t or prt Fd te solute reltve true error or prt Multple-segmet Trpezodl Rule: Oe wy to rese te ury o te trpezodl rule s to rese te umer o segmets etwee d So ts proedure, we wll dvde [, ] to equl segmets d pply te Trpezodl rule over e segmet, te sum o te results oted or e segmet s te ppromte vlue o te tegrl Dvde to equl segmets s sow te gure elow Te te wdt o e segmet s Te tegrl Ι e roke to tegrls s I d d d d d Fgure- Multple-segmet Trpezodl rule Numerl Itegrto 8

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] Applyg Trpezodl rule o e segmet gves: d [ ] [ ] d Emple Te vertl dste overed y roket rom t 8 to t seods s gve y 8 l 98t dt t Use two-segmet Trpezodl rule to d te dste overed Fd te true error, E t or prt Fd te solute reltve true error or prt Wy resg te umer o segmets To llustrte te mporte o resg te umer o segmets te Trpezodl rule, let us osder te ollowg tegrl: I d e Numerl Itegrto 8

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] Te ollowg tle represets te vrto te solute d reltve error wt te umer o segmets used Note tt wt smll umer o segmets, te error s very g Appromte Vlue 8 9 997% 9 79% 7 7978 8% 8 7 9 797% 7 887 98% 7 9% 8 % E t t Error Multple-segmet Trpezodl Rule Te true error or sgle segmet Trpezodl rule s gve y E t "ζ, < ζ < [,] were ζ s some pot Wt s te error, te, te multple-segmet Trpezodl rule? It wll e smply te sum o te errors rom e segmet, were te error e segmet s tt o te sgle segmet Trpezodl rule Te error e segmet s [ ] E " ζ < ζ < " ζ [ ] E " ζ < ζ < " ζ [ { } ] E " ζ < ζ < " ζ Hee te totl error multple-segmet Trpezodl rule s E t E Numerl Itegrto 8

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] Te term Hee " ζ " ζ " ζ " ζ ", < < s ppromte verge vlue o te seod dervtve E t " ζ SIMPSON S / RD RULE Trpezodl rule ws sed o ppromtg te tegrd y rst order polyoml, d te tegrtg te polyoml te tervl o tegrto Smpso s /rd rule s eteso o Trpezodl rule were te tegrd s ppromted y seod order polyoml We ve, I d d were s seod order polyoml Coose,,,,, evlute d d, s te tree pots o te uto to Solvg te ove tree equtos or ukows, d gves, Numerl Itegrto 87

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] Te d I d Susttutg vlues o d gves, d Se or Smpso s / rd Rule, te tervl [ ], s roke to segmets, te segmet wdt s Hee te Smpso s / rd rule s gve y d Se te ove orm s / ts ormul, t s lled Smpso s / rd Rule Numerl Itegrto 88

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] Emple Te dste overed y roket rom 8 t to t s gve y 8 98 l dt t t Use Smpso s / rd Rule to d te ppromte vlue o Fd te true error, t E Fd te solute reltve true error, t Multple Segmet Smpso s / rd Rule Just lke multple-segmet Trpezodl Rule, we sudvde te tervl [ ], to segmets d pply Smpso s / rd Rule over every two segmets Note tt eeds to e eve Dvde tervl [ to equl segmets, ee te segmet wdt ], d d were d d d d d Apply Smpso s / rd Rule over e tervl, d Se,,, te d Numerl Itegrto 89

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] { } { [ ] } eve odd eve odd d Error Multple Segmet Smpso s / rd Rule Te true error sgle pplto o Smpso s / rd Rule s gve y E t < < ζ ζ, 88 I Multple Segmet Smpso s / rd Rule, te error s te sum o te errors e pplto o Smpso s / rd Rule Te error segmet Smpso s / rd Rule s gve y, 88 E < < ζ ζ 9 ζ, 88 E < < ζ ζ 9 ζ : E < <, 88 ζ ζ 9 ζ Hee, te totl error Multple Segmet Smpso s / rd Rule s t E E 9 ζ Numerl Itegrto 9

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] Te term were 9 9 ζ ζ ζ s ppromte verge vlue o ζ E t 9, < < Hee Rrdso s Etrpolto Formul or Trpezodl Rule Te true error multple segmet Trpezodl Rule wt segmets or tegrl d s gve y E t ξ were or e, te term ξ s pot somewere te dom [, ] ξ, d e vewed s ppromte verge vlue o us to sy tt te true error, Et e wrtte uder te orm: [,] Ts leds E t α Numerl Itegrto 9

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] Or C E t were Se, we ve C s ppromte ostt o proportolty E TV t I were TV true vlue I ppromte vlue usg -segmets Te, we wrte, C TV I I te umer o segmets s douled rom to te Trpezodl rule, C TV I Te ove equtos e omed to get: TV I I I GAUSS QUADRATURE RULE Dervto o two-pot Guss Qudrture Rule Te two-pot Guss Qudrture Rule s eteso o te Trpezodl Rule ppromto were te rgumets o te uto re ot predetermed s d, ut s ukows d So te two-pot Guss Qudrture Rule, te tegrl s ppromted s I d Numerl Itegrto 9

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] Tere re our ukows,, d Tese re oud y ssumg tt te ormul gves et results or tegrtg geerl trd order polyoml, Hee d d Te ormul gves d Equtg te ove equtos gves Se ts equto, te ostts d re rtrry, te oeets o d re equl Ts gves us te our ollowg equtos:,,,,,, d Numerl Itegrto 9

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] Hee d Hger pot Guss Qudrture Formuls I we wrte te tegrl o te uto uder te ollowg orm: d Ts s lled te tree-pot Guss Qudrture Rule Te oeets, d, d te uto rgumets, d re lulted y ssumg te ormul gves et epressos or tegrtg t order polyoml d Geerl -pot rules would ppromte te tegrl d Argumets d wegg tors or -pot Guss Qudrture Rules Usully oeets d rgumets or -pot Guss Qudrture Rule re tulted But, tey re gve or tegrls o te orm g d g Numerl Itegrto 9

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] Tle : Wegtg tors d uto rgumets used Guss Qudrture ormuls Wegtg Futo Pots Ftors Argumets 779 779 7799 888888889 7799 788 788 8 998 998 8 988 7887 8888889 7887 988 9798 89 89 9798 79 77 799 799 77 79 99 98 898 898 98 99 Note: te tle s gve or g d tegrls, ow we solve d? Ay tegrl wt lmts o [, ] e overted to tegrl wt lmts [, ] Let Numerl Itegrto 9

Numerl Metods or Eg [ENGR 9] [Lyes KADEM 7] mt I, te t I, te t su tt m m Solvg tese two smulteous ler Equtos gves m Hee t d dt Susttutg our vlues o d d to te tegrl gves us d d Emple Use tree-pot Guss Qudrture Rule to ppromte te dste overed y roket rom t 8 to t s gve y 8 l 98t dt t Also, d te solute reltve true error Numerl Itegrto 9