Quadrature Greg Beckham. Quadrature Numerical Integration Goal is to obtain the integral with as few computations of the integrand as possible.

Slides:



Advertisements
Similar presentations
Prof. Muhammad Saeed ( Differentiation and Integration )
Advertisements

6. 4 Integration with tables and computer algebra systems 6
Numerical Integration
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
Computational Methods in Physics PHYS 3437
NUMERICAL DIFFERENTIATION AND INTEGRATION
Chapter 7 Numerical Differentiation and Integration
Today’s class Romberg integration Gauss quadrature Numerical Methods
2. Numerical differentiation. Approximate a derivative of a given function. Approximate a derivative of a function defined by discrete data at the discrete.
Numerical Integration
Lecture 3: Integration. Integration of discrete functions
MANE 4240 & CIVL 4240 Introduction to Finite Elements Numerical Integration in 1D Prof. Suvranu De.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 22 Integration of Equations.
Numerical Integration
Multistep methods previous methods use information at xi to predict yi+1 multistep methods use information from xi-1, xi-2, etc. leads to better results.
Integration of Equations
NUMERICAL DIFFERENTIATION The derivative of f (x) at x 0 is: An approximation to this is: for small values of h. Forward Difference Formula.
CISE301_Topic7KFUPM1 SE301: Numerical Methods Topic 7 Numerical Integration Lecture KFUPM Read Chapter 21, Section 1 Read Chapter 22, Sections 2-3.
19.5 Numeric Integration and Differentiation
Integration. Problem: An experiment has measured the number of particles entering a counter per unit time dN(t)/dt, as a function of time. The problem.
Chapter 4, Integration of Functions. Open and Closed Formulas x 1 =a x 2 x 3 x 4 x 5 =b Closed formula uses end points, e.g., Open formulas - use interior.
Integrals 5.
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
1 Numerical Integration Dr. Asaf Varol
3. Numerical integration (Numerical quadrature) .
MECN 3500 Inter - Bayamon Lecture Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Lecture 19 - Numerical Integration CVEN 302 July 22, 2002.
Techniques of Integration
1 Chapter 7 NUMERICAL INTEGRATION. 2 PRELIMINARIES We use numerical integration when the function f(x) may not be integrable in closed form or even in.
1 Numerical Analysis Lecture 12 Numerical Integration Dr. Nader Okasha.
Ch 8.3: The Runge-Kutta Method
Chapters 5 and 6: Numerical Integration
1 Trapezoidal Rule of Integration. What is Integration Integration: The process of measuring the area under a function.
MA2213 Lecture 4 Numerical Integration. Introduction Definition is the limit of Riemann sums I(f)
Integration Copyright © Cengage Learning. All rights reserved.
Techniques of Integration Substitution Rule Integration by Parts Trigonometric Integrals Trigonometric Substitution Integration of Rational Functions by.
Trapezoidal Rule of Integration
5. Integration 2.Quadrature as Box Counting 3.Algorithm: Trapezoid Rule 4.Algorithm: Simpson’s Rule 5.Integration Error 6.Algorithm: Gaussian Quadrature.
12/1/ Trapezoidal Rule of Integration Civil Engineering Majors Authors: Autar Kaw, Charlie Barker
Chap. 11 Numerical Differentiation and Integration
6. Numerical Integration 6.1 Definition of numerical integration. 6.2 Reasons to use numerical integration. 6.3 Formulas of numerical Integration. 6.4.
1/7  4.6 Adaptive Quadrature Methods Chapter 4 Numerical Differentiation and Integration -- Adaptive Quadrature Methods   /2  /4  /8 Predict the.
The purpose of Chapter 5 is to develop the basic principles of numerical integration Usefule Words integrate, integral 积分(的), integration 积分(法), quadrature.
SE301_Topic 6Al-Amer20051 SE301:Numerical Methods Topic 6 Numerical Integration Dr. Samir Al-Amer Term 053.
Runge Kutta schemes Taylor series method Numeric solutions of ordinary differential equations.
Clicker Question 1 What is ? (Hint: u-sub) – A. ln(x – 2) + C – B. x – x 2 + C – C. x + ln(x – 2) + C – D. x + 2 ln(x – 2) + C – E. 1 / (x – 2) 2 + C.
Approximating Antiderivatives. Can we integrate all continuous functions? Most of the functions that we have been dealing with are what are called elementary.
Quadrature – Concepts (numerical integration) Don Allen.
Chapter 4, Integration of Functions
NUMERICAL DIFFERENTIATION Forward Difference Formula
Clicker Question 1 What is ? A. x tan(x2) + C
Numerical Analysis Lecture 42.
Chapter 22.
Integration with Unequal Segments
d-Fold Hermite-Gauss Quadrature and Computation of Special Functions
Two-Point Gaussian Quadrature Rule
Class Notes 19: Numerical Methods (2/2)
NUMERICAL INTEGRATION
Copyright © Cengage Learning. All rights reserved.
Composite Numerical Integration
Two-Point Gaussian Quadrature Rule
Numerical Integration:
Numerical Computation and Optimization
SKTN 2393 Numerical Methods for Nuclear Engineers
Numerical Integration
Numerical Computation and Optimization
Chapter 4, Integration of Functions
Elements of Numerical Integration
Presentation transcript:

Quadrature Greg Beckham

Quadrature Numerical Integration Goal is to obtain the integral with as few computations of the integrand as possible

Equally Spaced Abscissas Abscissas – points along a line Considered mostly “Historical” methods Sequence of abscissas x 0, x 1, …, x N-1, x N spaced apart by a constant step h.

Open and Closed Integrals Closed integrals are evaluated at the endpoints a and b Open integrals are evaluated up to but not including the endpoints a and b

Closed Newton-Cotes Formulas O is the error term – Some numerical co-efficient times h 3 times the second derivative of f at some unknown point Exact for formulas up to and including polynomials of degree 1.

Closed Newton-Cotes Formulas Interval size of 2h so coefficients add up to 2 Exact for polynomials up to and including degree 3

Closed Newton-Cotes Formulas Higher order methods can calculate exact integral for higher order polynomials Better for smother functions Not necessarily more accurate

Open Integrals Only uses interior points Not very useful sense it can’t be extended Extendable on upper end

Extended Formulas (Closed) Perform N – 1 times and add the results together Error expressed in terms of b and a since they are normally held constant and N is varied - The exact error isn’t important, just the degree Important formula that is used in practical quadrature schemes

Extended Formulas (Closed) Perform N – 1 times and add the results together Extended Simpson’s Rule:

Extended Formulas (Open) Combine To get:

Extended Formulas (Open) Extended midpoint formula Used in calculating improper integrals

Elementary Algorithms Start with extended trapezoid rule – When you fix a and b, you can double the number of intervals without losing work – Continue adding intervals until it converges

Gaussian Quadrature Abscissas are not equal spaced Twice the degrees of freedom as Newton-Cotes – Formulas with twice the order but the same number of function evaluations Weights and Abscissas can be chosen such that the integral is exact for a polynomial * some known function To do the integral

Gaussian Quadrature Weights and Abscissas are specific to a particular function and cannot be applied to others Converges exponentially for smooth functions