Chapter 22.

Slides:



Advertisements
Similar presentations
Evaluating integrals are common in engineering problems. Sometimes, it is difficult to evaluate complex integrals. The need for Gauss Quadrature Therefore,
Advertisements

Numerical Integration
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
Computational Methods in Physics PHYS 3437
Asymptotic error expansion Example 1: Numerical differentiation –Truncation error via Taylor expansion.
Numerical Integration of Functions
NUMERICAL DIFFERENTIATION AND INTEGRATION
Chapter 7 Numerical Differentiation and Integration
Today’s class Romberg integration Gauss quadrature Numerical Methods
Numerical Integration
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Ordinary Differential Equations Equations which are.
Newton-Cotes Integration Formula
MANE 4240 & CIVL 4240 Introduction to Finite Elements Numerical Integration in 1D Prof. Suvranu De.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW III.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 22 Integration of Equations.
Chapter 6 Numerical Interpolation
Integration of Equations
8/8/ Gauss Quadrature Rule of Integration Major: All Engineering Majors Authors: Autar Kaw, Charlie Barker
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Part 6 Calculus.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 21 Newton-Cotes Integration Formula.
Chapter 4 Numerical Differentiation and Integration 1/16 Given x 0, approximate f ’(x 0 ). h xfhxf xf h )()( lim)('    x0x0 x1x1 h x1x1 x0x0.
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
Lecture 19 - Numerical Integration CVEN 302 July 22, 2002.
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.
Numerical Differential & Integration. Introduction If a function f(x) is defined as an expression, its derivative or integral is determined using analytical.
Lecture 22 - Exam 2 Review CVEN 302 July 29, 2002.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Numerical Differentiation and Integration ~ Integration.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 22.
11/30/ Romberg Rule of Integration Mechanical Engineering Majors Authors: Autar Kaw, Charlie Barker
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 7 - Chapter 25.
Use of Newton-Cotes Formulas and eventual shortcomings Matlab code to increase number of segments with trapezoid, 1/3 and 3/8 rule.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 5 Integration and Differentiation.
Interpolation - Introduction
1 Week 11 Numerical methods for ODEs 1.The basics: finite differences, meshes 2.The Euler method.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 20 Numerical Integration of Functions.
Part 7 - Chapter 25.
Part 6 - Chapter 21.
Chapter 7 Numerical Differentiation and Integration
1. 2 What is Integration? Integration The process of measuring the area under a curve. Where: f(x) is the integrand a= lower limit of integration b=
Gauss Quadrature Rule of Integration
Ordinary Differential Equations
Numerical Integration Formulas
Integration with Unequal Segments
NUMERICAL DIFFERENTIATION AND INTEGRATION
Numerical Analysis Lecture 27.
Two-Point Gaussian Quadrature Rule
Class Notes 18: Numerical Methods (1/2)
NUMERICAL DIFFERENTIATION AND INTEGRATION
Chapter 23.
Chapter 7 Numerical Differentiation and Integration
Trapezoidal Rule of Integration
NUMERICAL INTEGRATION
Chapter 26.
Part 7 - Chapter 25.
Gauss Quadrature Rule of Integration
Two-Point Gaussian Quadrature Rule
Numerical Integration:
Numerical Computation and Optimization
Numerical Integration of Functions
Pengintegralan Numerik (lanjutan) Pertemuan 10
Romberg Rule of Integration
SKTN 2393 Numerical Methods for Nuclear Engineers
Romberg Rule of Integration
Numerical Computation and Optimization
CPE 332 Computer Engineering Mathematics II
Romberg Rule of Integration
Numerical Computation and Optimization
Romberg Rule of Integration
Numerical Integration
Presentation transcript:

Chapter 22

Integration of Equations Chapter 22 Functions to be integrated numerically are in two forms: A table of values. We are limited by the number of points that are given. A function. We can generate as many values of f(x) as needed to attain acceptable accuracy. Will focus on two techniques that are designed to analyze functions: Romberg integration Gauss quadrature

Romberg Integration Is based on successive application of the trapezoidal rule to attain efficient numerical integrals of functions. Richardson’s Extrapolation/ Uses two estimates of an integral to compute a third and more accurate approximation.

The estimate and error associated with a multiple-application trapezoidal rule can be represented generally as I =exact value of integral I(h) =the approximation from an n segment application of trapezoidal rule with step size h E(h) =the truncation error Assumed constant regardless of step size

Improved estimate of the integral

Figure 22.3

Gauss Quadrature Gauss quadrature implements a strategy of positioning any two points on a curve to define a straight line that would balance the positive and negative errors. Hence the area evaluated under this straight line provides an improved estimate of the integral.

Figure 22.6

Method of Undetermined Coefficients/ The trapezoidal rule yields exact results when the function being integrated is a constant or a straight line, such as y=1 and y=x: Solve simultaneously Trapezoidal rule

Figure 22.7

Derivation of the Two-Point Gauss-Legendre Formula/ The object of Gauss quadrature is to determine the equations of the form However, in contrast to trapezoidal rule that uses fixed end points a and b, the function arguments x0 and x1 are not fixed end points but unknowns. Thus, four unknowns to be evaluated require four conditions. First two conditions are obtained by assuming that the above eqn. for I fits the integral of a constant and a linear function exactly. The other two conditions are obtained by extending this reasoning to a parabolic and a cubic functions.

Solved simultaneously Yields an integral estimate that is third order accurate

Figure 22.8

Notice that the integration limits are from -1 to 1 Notice that the integration limits are from -1 to 1. This was done for simplicity and make the formulation as general as possible. A simple change of variable is used to translate other limits of integration into this form. Provided that the higher order derivatives do not increase substantially with increasing number of points (n), Gauss quadrature is superior to Newton-Cotes formulas. Error for the Gauss-Legendre formulas

Improper Integrals Improper integrals can be evaluated by making a change of variable that transforms the infinite range to one that is finite, where –A is chosen as a sufficiently large negative value so that the function has begun to approach zero asymptotically at least as fast as 1/x2.