NUMERICAL DIFFERENTIATION AND INTEGRATION

Slides:



Advertisements
Similar presentations
Numerical Integration
Advertisements

ES 240: Scientific and Engineering Computation. Chapter 17: Numerical IntegrationIntegration  Definition –Total area within a region –In mathematical.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall Trapezoidal Rule Section 5.5.
Chapter 7 Numerical Differentiation and Integration
Today’s class Romberg integration Gauss quadrature Numerical Methods
Numerical Integration
Numerical Integration Lecture (II)1
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 30 Numerical Integration & Differentiation.
Curve-Fitting Interpolation
Newton-Cotes Integration Formula
Chapter III. Numerical Integration for Ship Forms Review of CVEN 302.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 29 Numerical Integration.
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW III.
Numerical Integration Lecture (I)1
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Standing.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 27 Numerical Integration & Differentiation.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Numerical Differentiation and Integration ~ Newton-Cotes.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Standing.
Numerical Integration Formulas
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.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Applied Numerical Methods With MATLAB ® for Engineers.
1 NUMERICAL INTEGRATION Motivation: Most such integrals cannot be evaluated explicitly. Many others it is often faster to integrate them numerically rather.
Numerical Integration Approximating Definite Integral.
Today’s class Numerical Integration Newton-Cotes Numerical Methods
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.
Numerical Differential & Integration. Introduction If a function f(x) is defined as an expression, its derivative or integral is determined using analytical.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall 5.4 Fundamental Theorem of Calculus.
4.6 Numerical Integration Trapezoid and Simpson’s Rules.
CSE 330 : Numerical Methods
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Applied Numerical Methods With MATLAB ® for Engineers.
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.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapter 21.
Numerical Integration
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall 5.5 Trapezoidal Rule.
6. Numerical Integration 6.1 Definition of numerical integration. 6.2 Reasons to use numerical integration. 6.3 Formulas of numerical Integration. 6.4.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 5 Integration and Differentiation.
Interpolation - Introduction
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 20 Numerical Integration of Functions.
Numerical Integration
Air Force Admin College, Coimbatore
Applied Numerical Methods
Part 6 - Chapter 21.
Chapter 7 Numerical Differentiation and Integration
Midpoint and Trapezoidal Rules
MTH1170 Numeric 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=
Applied Numerical Methods
Computer Programming for Engineers ENGR Summer 2015 Class 4
Numerical Integration Formulas
Chapter 22.
Computer Programming for Engineers ENGR Spring 2015 Week 3
NUMERICAL DIFFERENTIATION AND INTEGRATION
Numerical Analysis Lecture 27.
Chapter 7 Numerical Differentiation and Integration
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
Applied Numerical Methods
Chapter 6 Applications of Derivatives Section 6.5 Trapezoidal Rule.
PARTIAL DIFFERENTIAL EQUATIONS
SKTN 2393 Numerical Methods for Nuclear Engineers
Numerical Computation and Optimization
MATH 2140 Numerical Methods
Numerical Integration
Air Force Admin College, Coimbatore
Presentation transcript:

NUMERICAL DIFFERENTIATION AND INTEGRATION Materi Kuliah Fisika Komputasi NUMERICAL DIFFERENTIATION AND INTEGRATION Numerical Methods for Engineers, sixth edition Steven C. Chapra Berger Chair in Computing and Engineering, Tufts University Raymond P. Canale Professor Emeritus of Civil Engineering, University of Michigan Copyright © 2010 by The McGraw-Hill Companies, Inc.

MOTIVATION The graphical definition of a derivative: as x approaches zero in going from (a) to (c), the difference approximation becomes a derivative

The contrast between (a) differentiation and (b) integration. MOTIVATION The contrast between (a) differentiation and (b) integration.

Noncomputer Methods for Differentiation and Integration The use of a grid to approximate an integral The use of rectangles, or strips, to approximate the integral

Noncomputer Methods for Differentiation and Integration Application of a numerical integration method: (a) A complicated, continuous function. (b) Table of discrete values of f(x) generated from the function. (c) Use of a numerical method (the strip method here) to estimate the integral on the basis of the discrete points.

Newton-Cotes Integration Formulas

Newton-Cotes Integration Formulas The approximation of an integral by the area under (a) a single straight line and (b) a single parabola.

Newton-Cotes Integration Formulas The approximation of an integral by the area under three straight-line segments.

Newton-Cotes Integration Formulas Closed and open forms of the Newton-Cotes formulas are available. The closed forms are those where the data points at the beginning and end of the limits of integration are known. The open forms have integration limits that extend beyond the range of the data . The difference between (a) closed and (b) open integration formulas

THE TRAPEZOIDAL RULE The trapezoidal rule is the first of the Newton-Cotes closed integration formulas The area under this straight line is an estimate of the integral of f (x) between the limits a and b: The result of the integration (see Box 21.1 for details) is Graphical depiction of the trapezoidal rule. which is called the trapezoidal rule.

Linear Interpolation

THE TRAPEZOIDAL RULE Error of the Trapezoidal Rule An estimate for the local truncation error of a single application of the trapezoidal rule is

Illustration of the multiple-application trapezoidal rule. THE TRAPEZOIDAL RULE The Multiple-Application Trapezoidal Rule Illustration of the multiple-application trapezoidal rule. (a) Two segments, (b) three segments, (c) four segments, and (d) five segments

The general format and nomenclature for multiple-application integrals THE TRAPEZOIDAL RULE The general format and nomenclature for multiple-application integrals

THE TRAPEZOIDAL RULE

THE TRAPEZOIDAL RULE

THE TRAPEZOIDAL RULE

THE TRAPEZOIDAL RULE

SIMPSON’S RULES Simpson’s 1/3 Rule (a) Graphical depiction of Simpson’s 1/3 rule: It consists of taking the area under a parabola connecting three points. (b) Graphical depiction of Simpson’s 3/8 rule: It consists of taking the area under a cubic equation connecting four points.

SIMPSON’S RULES

SIMPSON’S RULES THE TRAPEZOIDAL RULE

SIMPSON’S RULES