EE3561_Unit 7Al-Dhaifallah1435 1 EE 3561 : Computational Methods Unit 7 Numerical Integration Dr. Mujahed AlDhaifallah ( Term 342)

Slides:



Advertisements
Similar presentations
Numerical Integration
Advertisements

A Riemann sum is a method for approximating the total area underneath a curve on a graph. This method is also known as taking an integral. There are 3.
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
EE3561_Unit 6(c)AL-DHAIFALLAH14351 EE 3561 : Computational Methods Unit 6 Numerical Differentiation Dr. Mujahed AlDhaifallah ( Term 342)
Chapter 7 Numerical Differentiation and Integration
6.5 The Definite Integral In our definition of net signed area, we assumed that for each positive number n, the Interval [a, b] was subdivided into n subintervals.
Lecture 3: Integration. Integration of discrete functions
CHAPTER 4 THE DEFINITE INTEGRAL.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall Slide 5- 1.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Standing.
1 Example 2 Estimate by the six Rectangle Rules using the regular partition P of the interval [0,  ] into 6 subintervals. Solution Observe that the function.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Standing.
CISE301_Topic7KFUPM1 SE301: Numerical Methods Topic 7 Numerical Integration Lecture KFUPM Read Chapter 21, Section 1 Read Chapter 22, Sections 2-3.
CISE301_Topic71 SE301: Numerical Methods Topic 7 Numerical Integration Lecture KFUPM (Term 101) Section 04 Read Chapter 21, Section 1 Read Chapter.
Index FAQ Numerical Approximations of Definite Integrals Riemann Sums Numerical Approximation of Definite Integrals Formulae for Approximations Properties.
Simpson’s 1/3 rd Rule of Integration. What is Integration? Integration The process of measuring the area under a.
Numerical Computation
MAT 1235 Calculus II Section 7.7 Approximate (Numerical) Integration
4.6 Numerical Integration -Trapezoidal Rule -Simpson’s Rule
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.
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.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall Slide 5- 1.
9/14/ Trapezoidal Rule of Integration Major: All Engineering Majors Authors: Autar Kaw, Charlie Barker
1 Trapezoidal Rule of Integration. What is Integration Integration: The process of measuring the area under a function.
The Integral chapter 5 The Indefinite Integral Substitution The Definite Integral As a Sum The Definite Integral As Area The Definite Integral: The Fundamental.
Chapter 5 .3 Riemann Sums and Definite Integrals
Chapter 5 Integral. Estimating with Finite Sums Approach.
A REA A PPROXIMATION 4-B. Exact Area Use geometric shapes such as rectangles, circles, trapezoids, triangles etc… rectangle triangle parallelogram.
4-3 DEFINITE INTEGRALS MS. BATTAGLIA – AP CALCULUS.
Section 5.3 – The Definite Integral
Homework questions thus far??? Section 4.10? 5.1? 5.2?
State Standard – 16.0a Students use definite integrals in problems involving area. Objective – To be able to use the 2 nd derivative test to find concavity.
Integration Copyright © Cengage Learning. All rights reserved.
Learning Objectives for Section 13.4 The Definite Integral
Chapter 4 Integration.
5.1.  When we use the midpoint rule or trapezoid rule we can actually calculate the maximum error in the calculation to get an idea how much we are off.
CHAPTER 4 SECTION 4.4 THE FUNDAMENTAL THEOREM OF CALCULUS.
6/3/2016 Perkins AP Calculus AB Day 10 Section 4.4.
SECTION 4-4 A Second Fundamental Theorem of Calculus.
Trapezoidal Rule of Integration
The previous mathematics courses your have studied dealt with finite solutions to a given problem or problems. Calculus deals more with continuous mathematics.
CSE 330 : Numerical Methods Lecture 15: Numerical Integration - Trapezoidal Rule Dr. S. M. Lutful Kabir Visiting Professor, BRAC University & Professor.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapter 21.
EE3561_Unit 5(c)AL-DHAIFALLAH14361 EE 3561 : Computational Methods Unit 5 : Interpolation Dr. Mujahed AlDhaifallah (Term 351) Read Chapter 18, Sections.
Math – Integration 1. We know how to calculate areas of some shapes. 2.
Lecture III Indefinite integral. Definite integral.
Chapter 5 – The Definite Integral. 5.1 Estimating with Finite Sums Example Finding Distance Traveled when Velocity Varies.
1 Example 1 Estimate by the six Rectangle Rules using the regular partition P of the interval [0,1] into 4 subintervals. Solution This definite integral.
Chapter 6 Integration Section 5 The Fundamental Theorem of Calculus (Day 1)
3/12/ Trapezoidal Rule of Integration Computer Engineering Majors Authors: Autar Kaw, Charlie Barker
SE301_Topic 6Al-Amer20051 SE301:Numerical Methods Topic 6 Numerical Integration Dr. Samir Al-Amer Term 053.
Definite Integral df. f continuous function on [a,b]. Divide [a,b] into n equal subintervals of width Let be a sample point. Then the definite integral.
5.3 Definite Integrals and Riemann Sums. I. Rules for Definite Integrals.
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.
Numerical Integration
Chapter 5 AP Calculus BC.
Air Force Admin College, Coimbatore
NUMERICAL DIFFERENTIATION Forward Difference Formula
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=
Fundamental Theorem of Calculus
Summation Formulas Constant Series.
Copyright © Cengage Learning. All rights reserved.
Numerical Integration
Numerical Computation and Optimization
Objectives Approximate a definite integral using the Trapezoidal Rule.
Numerical Computation and Optimization
Air Force Admin College, Coimbatore
Presentation transcript:

EE3561_Unit 7Al-Dhaifallah EE 3561 : Computational Methods Unit 7 Numerical Integration Dr. Mujahed AlDhaifallah ( Term 342)

EE3561_Unit 7Al-Dhaifallah14352 Lecture 19 Introduction to Numerical Integration  Definitions  Upper and Lower Sums  Trapezoid Method  Examples

EE3561_Unit 7Al-Dhaifallah14353 Integration Indefinite Integrals Indefinite Integrals of a function are functions that differ from each other by a constant. Definite Integrals Definite Integrals are numbers.

EE3561_Unit 7Al-Dhaifallah14354 Fundamental Theorem of Calculus

EE3561_Unit 7Al-Dhaifallah14355 The Area Under the Curve One interpretation of the definite integral is Integral = area under the curve ab f(x)

EE3561_Unit 7Al-Dhaifallah14356 Riemann Sums

EE3561_Unit 7Al-Dhaifallah14357 Numerical Integration Methods Numerical integration Methods Covered in this course  Upper and Lower Sums  Newton-Cotes Methods:  Trapezoid Rule  Romberg Method

EE3561_Unit 7Al-Dhaifallah14358 Upper and Lower Sums ab f(x) The interval is divided into subintervals

EE3561_Unit 7Al-Dhaifallah14359 Upper and Lower Sums ab f(x)

EE3561_Unit 7Al-Dhaifallah Example

EE3561_Unit 7Al-Dhaifallah Example

EE3561_Unit 7Al-Dhaifallah Upper and Lower Sums Estimates based on Upper and Lower Sums are easy to obtain for monotonic functions (always increasing or always decreasing). For non-monotonic functions, finding maximum and minimum of the function can be difficult and other methods can be more attractive.

EE3561_Unit 7Al-Dhaifallah Newton-Cotes Methods  In Newton-Cote Methods, the function is approximated by a polynomial of order n  Computing the integral of a polynomial is easy.

EE3561_Unit 7Al-Dhaifallah Newton-Cotes Methods Trapezoid Method ( First Order Polynomial are used ) Simpson 1/3 Rule ( Second Order Polynomial are used ),

EE3561_Unit 7Al-Dhaifallah Trapezoid Method f(x)

EE3561_Unit 7Al-Dhaifallah Trapezoid Method Derivation-One interval

EE3561_Unit 7Al-Dhaifallah Trapezoid Method f(x)

EE3561_Unit 7Al-Dhaifallah Trapezoid Method Multiple Application Rule ab f(x) x

EE3561_Unit 7Al-Dhaifallah Trapezoid Method General Formula and special case

EE3561_Unit 7Al-Dhaifallah Example Given a tabulated values of the velocity of an object. Obtain an estimate of the distance traveled in the interval [0,3]. Time (s) Velocity (m/s) Distance = integral of the velocity

EE3561_Unit 7Al-Dhaifallah Example Time (s) Velocity (m/s)

EE3561_Unit 7Al-Dhaifallah Estimating the Error For Trapezoid method

EE3561_Unit 7Al-Dhaifallah Error in estimating the integral Theorem

EE3561_Unit 7Al-Dhaifallah Example

EE3561_Unit 7Al-Dhaifallah Example x f(x)

EE3561_Unit 7Al-Dhaifallah Example x f(x)

EE3561_Unit 7Al-Dhaifallah Lecture 21 Romberg Method  Motivation  Derivation of Romberg Method  Romberg Method  Example  When to stop?

EE3561_Unit 7Al-Dhaifallah Motivation for Romberg Method  Trapezoid formula with an interval h gives error of the order O(h 2 )  We can combine two Trapezoid estimates with intervals h and h/2 to get a better estimate.

EE3561_Unit 7Al-Dhaifallah Romberg Method First column is obtained using Trapezoid Method R(0,0) R(1,0)R(1,1) R(2,0)R(2,1)R(2,2) R(3,0)R(3,1)R(3,2)R(3,3) The other elements are obtained using the Romberg Method

EE3561_Unit 7Al-Dhaifallah First Column Recursive Trapezoid Method f(x)

EE3561_Unit 7Al-Dhaifallah Recursive Trapezoid Method f(x) Based on previous estimate Based on new point

EE3561_Unit 7Al-Dhaifallah Recursive Trapezoid Method f(x) Based on previous estimate Based on new points

EE3561_Unit 7Al-Dhaifallah Recursive Trapezoid Method Formulas

EE3561_Unit 7Al-Dhaifallah Recursive Trapezoid Method

EE3561_Unit 7Al-Dhaifallah Derivation of Romberg Method

EE3561_Unit 7Al-Dhaifallah Romberg Method R(0,0) R(1,0)R(1,1) R(2,0)R(2,1)R(2,2) R(3,0)R(3,1)R(3,2)R(3,3)

EE3561_Unit 7Al-Dhaifallah Property of Romberg Method R(0,0) R(1,0)R(1,1) R(2,0)R(2,1)R(2,2) R(3,0)R(3,1)R(3,2)R(3,3) Error Level

EE3561_Unit 7Al-Dhaifallah Example /81/3

EE3561_Unit 7Al-Dhaifallah Example 1 cont /81/3 11/321/3

EE3561_Unit 7Al-Dhaifallah When do we stop?