Integration of Equations

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
Chapter 2 Solutions of Systems of Linear Equations / Matrix Inversion
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
By S Ziaei-Rad Mechanical Engineering Department, IUT.
Numerical Integration of Functions
NUMERICAL DIFFERENTIATION AND INTEGRATION
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
Today’s class Romberg integration Gauss quadrature Numerical Methods
Numerical Integration
Chapter 18 Interpolation The Islamic University of Gaza
Chapter 9 Gauss Elimination The Islamic University of Gaza
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 30 Numerical Integration & Differentiation.
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 Lecture 29 Numerical Integration.
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.
Numerical Integration Lecture (I)1
Open Methods Chapter 6 The Islamic University of Gaza
Differential Equations and Boundary Value Problems
8/8/ Gauss Quadrature Rule of Integration Major: All Engineering Majors Authors: Autar Kaw, Charlie Barker
CISE301_Topic7KFUPM1 SE301: Numerical Methods Topic 7 Numerical Integration Lecture KFUPM Read Chapter 21, Section 1 Read Chapter 22, Sections 2-3.
Quadrature Greg Beckham. Quadrature Numerical Integration Goal is to obtain the integral with as few computations of the integrand as possible.
Numerical Integration Formulas
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Part 6 Calculus.
Simpson’s 1/3 rd Rule of Integration. What is Integration? Integration The process of measuring the area under a.
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.
3. Numerical integration (Numerical quadrature) .
Lecture 19 - Numerical Integration CVEN 302 July 22, 2002.
Integration Integration: is the total value, or summation, of f(x) dx over the range from a to b:
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 Simpson’s 1/3 rd Rule of Integration. 2 What is Integration? Integration The process of measuring the area under a curve. Where: f(x) is the integrand.
Chapters 5 and 6: Numerical Integration
MA2213 Lecture 4 Numerical Integration. Introduction Definition is the limit of Riemann sums I(f)
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 22.
MECH345 Introduction to Finite Element Methods Chapter 1 Numerical Methods - Introduction.
11/30/ Romberg Rule of Integration Mechanical Engineering Majors Authors: Autar Kaw, Charlie Barker
Numerical Integration
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 7 Roots of Polynomials.
Chapter 9 Gauss Elimination The Islamic University of Gaza
Use of Newton-Cotes Formulas and eventual shortcomings Matlab code to increase number of segments with trapezoid, 1/3 and 3/8 rule.
Sequences & Series. Sequence: A function whose domain is a set of consecutive integers. The domain gives the relative position of each term of the sequence:
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 5 Integration and Differentiation.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 20 Numerical Integration of Functions.
Gauss Quadrature Rule of Integration
Numerical Integration Formulas
Chapter 22.
NUMERICAL DIFFERENTIATION AND INTEGRATION
Two-Point Gaussian Quadrature Rule
Class Notes 18: Numerical Methods (1/2)
NUMERICAL INTEGRATION
Gauss Quadrature Rule of Integration
Two-Point Gaussian Quadrature Rule
Numerical Computation and Optimization
Simpson’s 1/3rd Rule of Integration
Pengintegralan Numerik (lanjutan) Pertemuan 10
Simpson’s 1/3rd Rule of Integration
Romberg Rule of Integration
SKTN 2393 Numerical Methods for Nuclear Engineers
Simpson’s 1/3rd Rule of Integration
Romberg Rule of Integration
Romberg Rule of Integration
Numerical Computation and Optimization
Romberg Rule of Integration
Numerical Integration
Presentation transcript:

Integration of Equations The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 22 Integration of Equations

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.

Two points Gauss-Legendre Formula Assume that the two Integration points are xo and x1 such that: The object of Gauss quadrature is to determine the equations of the form: c0 and c1 are constants, the function arguments x0 and x1 are unknowns…….(4 unknowns)

Two points Gauss-Legendre Formula Thus, four unknowns to be evaluated require four conditions. If this integration is exact for a constant, 1st order, 2nd order, and 3rd order functions:

Two points Gauss-Legendre Formula Solving these 4 equations, we can determine c1, c2, x1 and x2.

Two points Gauss-Legendre Formula Since we used limits for the previous integration from –1 to 1 and the actual limits are usually from a to b, then we need first to transform both the function and the integration from the x-system to the xd-system x -1 1 f(x) f(x) x a b f(xo) f(x1) xo x1

Higher-Points Gauss-Legendre Formula

Multiple Points Gauss-Legendre Points Weighting factor Function argument Exact for 2 1.0 -0.577350269 up to 3rd 1.0 0.577350269 degree 3 0.5555556 -0.774596669 up to 5th 0.8888889 0.0 degree 0.5555556 0.774596669 4 0.3478548 -0.861136312 up to 7th 0.6521452 -0.339981044 degree 0.6521452 0.339981044 0.3478548 0.861136312 6 0.1713245 -0.932469514 up to 11th 0.3607616 -0.661209386 degree 0.4679139 -0.238619186 0.4679139 0.238619186 0.3607616 0.661209386 0.1713245 0.932469514

Gauss Quadrature - Example Find the integral of: f(x) = 0.2 + 25 x – 200 x2 + 675 x3 – 900 x4 + 400 x5 Between the limits 0 to 0.8 using: 2 points integration points (ans. 1.822578) 3 points integration points (ans. 1.640533)

Improper Integral Improper integrals can be evaluated by making a change of variable that transforms the infinite range to one that is finite, Can be evaluated by Newton-Cotes closed formula

Improper Integral - Examples .

Multiple Integration Double integral:

Multiple Integration using Gauss Quadrature Technique .

Multiple Integration using Gauss Quadrature Technique Now we can use the Gauss Quadrature technique: If we use two points Gauss Formula:

Double integral - Example Compute the average temperature of a rectangular heated plate which is 8m long in the x direction and 6 m wide in the y direction. The temperature is given as: (Use 2 segment applications of the trapezoidal rule in each dimension)

Double integral - Example HW: Use two points Gauss formula to solve the problem