MATH 2140 Numerical Methods

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.
Section 8.5 Riemann Sums and the Definite Integral.
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
Section 5.7 Numerical Integration. Approximations for integrals: Riemann Sums, Trapezoidal Rule, Simpson's Rule Riemann Sum: Trapezoidal Rule: Simpson’s.
Chapter 7 Numerical Differentiation and Integration
Numerical Integration
Numerical Integration Lecture (II)1
Newton-Cotes Integration Formula
MANE 4240 & CIVL 4240 Introduction to Finite Elements Numerical Integration in 1D Prof. Suvranu De.
Numerical Solution of Ordinary Differential Equation
NUMERICAL DIFFERENTIATION The derivative of f (x) at x 0 is: An approximation to this is: for small values of h. Forward Difference Formula.
Quadrature Greg Beckham. Quadrature Numerical Integration Goal is to obtain the integral with as few computations of the integrand as possible.
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.
Simpson’s 1/3 rd Rule of Integration. What is Integration? Integration The process of measuring the area under a.
1 NUMERICAL INTEGRATION Motivation: Most such integrals cannot be evaluated explicitly. Many others it is often faster to integrate them numerically rather.
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
Numerical Integration
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.
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.
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.
Introduction to Numerical Analysis I
4.6 Numerical Integration Trapezoid and Simpson’s Rules.
4.6 Numerical Integration. The Trapezoidal Rule One method to approximate a definite integral is to use n trapezoids.
CSE 330 : Numerical Methods
1 Numerical Integration Section Why Numerical Integration? Let’s say we want to evaluate the following definite integral:
1 Trapezoidal Rule of Integration. What is Integration Integration: The process of measuring the area under a function.
Trapezoidal Rule of Integration
Section 5.9 Approximate Integration Practice HW from Stewart Textbook (not to hand in) p. 421 # 3 – 15 odd.
CHAPTER 3 NUMERICAL METHODS
CSE 330 : Numerical Methods Lecture 15: Numerical Integration - Trapezoidal Rule Dr. S. M. Lutful Kabir Visiting Professor, BRAC University & Professor.
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.
Quadrature – Concepts (numerical integration) Don Allen.
CHAPTER 3 NUMERICAL METHODS
Air Force Admin College, Coimbatore
NUMERICAL DIFFERENTIATION Forward Difference Formula
Approximate Integration
Midpoint and Trapezoidal Rules
NUMERICAL 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=
The Distance and Midpoint Formulas
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
Chapter 7 Numerical Differentiation and Integration
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
Composite Numerical Integration
Elements of Numerical Integration
Applications of Integration
MATH 2140 Numerical Methods
Numerical Computation and Optimization
Simpson’s 1/3rd Rule of Integration
Numerical Integration
Numerical Computation and Optimization
MATH 2140 Numerical Methods
Numerical Computation and Optimization
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
Numerical Integration
Air Force Admin College, Coimbatore
Presentation transcript:

MATH 2140 Numerical Methods Faculty of Engineering Mechanical Engineering Department MATH 2140 Numerical Methods Instructor: Dr. Mohamed El-Shazly Associate Prof. of Mechanical Design and Tribology melshazly@ksu.edu.sa Office: F072

Numerical Integration SIMPSON'S METHODS

SIMPSON'S METHODS The trapezoidal method described in the last section relies on approximating the integrand by a straight line. A better approximation can possibly be obtained by approximating the integrand with a nonlinear function that can be easily integrated. One class of such methods, called Simpson's rules or Simpson's methods, uses quadratic (Simpson's 1/3 method) and cubic (Simpson's 3/8 method) polynomials to approximate the integrand.

Simpson's 1/3 Method In this method, a quadratic (second-order) polynomial is used to approximate the integrand (Fig. 9-14). The coefficients of a quadratic polynomial can be determined from three points. For an integral over the domain [a, b] , the three points used are the two endpoints x 1 = a, x3 = b , and the midpoint x2 = (a+ b )/2 . The polynomial can be written in the form:

EXAMPLE 1:

Compare the Trapezoidal rule and Simpson’s rule approximations to EXAMPLE 2: Compare the Trapezoidal rule and Simpson’s rule approximations to

Example 3 a) Use Simpson’s 1/3rd Rule to find the approximate value of x The distance covered by a rocket from t=8 to t=30 is given by

Solution a)

Composite Simpson's 1/3 method Equation (9.19) is the composite Simpson's 1/3 formula for numerical integration. It is important to point out that Eq. (9.19) can be used only if two conditions are satisfied: • The subintervals must be equally spaced. • The number of subintervals within [a, b] must be an even number.

Example 4

Example 5

Example 6