CPE 332 Computer Engineering Mathematics II Part III, Chapter 11 Numerical Differentiation and Integration Numerical Differentiation and Integration.

Slides:



Advertisements
Similar presentations
Numerical Integration
Advertisements

1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
CISE301_Topic61 SE301: Numerical Methods Topic 6 Numerical Differentiation Lecture 23 KFUPM Read Chapter 23, Sections 1-2.
EE3561_Unit 6(c)AL-DHAIFALLAH14351 EE 3561 : Computational Methods Unit 6 Numerical Differentiation Dr. Mujahed AlDhaifallah ( Term 342)
NUMERICAL DIFFERENTIATION AND INTEGRATION
High Accuracy Differentiation Formulas
Chapter 7 Numerical Differentiation and Integration
Today’s class Romberg integration Gauss quadrature Numerical Methods
Lecture 18 - Numerical Differentiation
Numerical Integration
CE33500 – Computational Methods in Civil Engineering Differentiation Provided by : Shahab Afshari
Numerical Integration Lecture (II)1
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 30 Numerical Integration & Differentiation.
Newton-Cotes Integration Formula
Chapter 19 Numerical Differentiation §Estimate the derivatives (slope, curvature, etc.) of a function by using the function values at only a set of discrete.
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
Chapter 7 Differentiation and Integration
ECIV 301 Programming & Graphics Numerical Methods for Engineers REVIEW III.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 5 Approximations, Errors and The Taylor Series.
Chapter 6 Numerical Interpolation
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Standing.
Numerical Solution of Ordinary Differential Equation
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Numerical Differentiation and Integration ~ Newton-Cotes.
NUMERICAL DIFFERENTIATION The derivative of f (x) at x 0 is: An approximation to this is: for small values of h. Forward Difference Formula.
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.
16/06/2015 MNT OREN, EE Numerical Methods for Differential Equations Department of Biomedical Engineering Department of Materials Science & Nanotechnology.
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, Integration of Functions. Open and Closed Formulas x 1 =a x 2 x 3 x 4 x 5 =b Closed formula uses end points, e.g., Open formulas - use interior.
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.
Today’s class Numerical Integration Newton-Cotes Numerical Methods
3. Numerical integration (Numerical quadrature) .
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 Integration Pertemuan 7 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
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.
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.
Lecture 22 - Exam 2 Review CVEN 302 July 29, 2002.
Today in Calculus Go over homework Derivatives by limit definition Power rule and constant rules for derivatives Homework.
MECN 3500 Lecture 4 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Numerical Differentiation and Integration ~ Integration.
The Slope of a Curve or How Secant Lines become Tangent Lines.
1.6 – Tangent Lines and Slopes Slope of Secant Line Slope of Tangent Line Equation of Tangent Line Equation of Normal Line Slope of Tangent =
Assignment 4 Section 3.1 The Derivative and Tangent Line Problem.
MECH345 Introduction to Finite Element Methods Chapter 1 Numerical Methods - Introduction.
Engineering Analysis ENG 3420 Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 11:00-12:00.
Today’s class Numerical Differentiation Finite Difference Methods Numerical Methods Lecture 14 Prof. Jinbo Bi CSE, UConn 1.
Chap. 11 Numerical Differentiation and Integration
2.1 The Derivative and The Tangent Line Problem Slope of a Tangent Line.
The purpose of Chapter 5 is to develop the basic principles of numerical integration Usefule Words integrate, integral 积分(的), integration 积分(法), quadrature.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 5 Integration and Differentiation.
Chapter Three Differentiation. Copyright © Houghton Mifflin Company. All rights reserved. 3 | 2 Secant Line.
Quadrature – Concepts (numerical integration) Don Allen.
Calculus Section 3.1 Calculate the derivative of a function using the limit definition Recall: The slope of a line is given by the formula m = y 2 – y.
Numerical Analysis Lecture 28. Chapter 7 Numerical Differentiation and Integration.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 21 Numerical Differentiation.
NUMERICAL DIFFERENTIATION Forward Difference Formula
High Accuracy Differentiation Formulas
Chapter 7 Numerical Differentiation and Integration
Numerical Analysis Lecture 27.
Chapter 23.
Chapter 7 Numerical Differentiation and Integration
Numerical differentiation
MATH-321 In One Slide MATH-321 & MATLAB Command.
CPE 332 Computer Engineering Mathematics II
Romberg Rule of Integration
Numerical Computation and Optimization
Presentation transcript:

CPE 332 Computer Engineering Mathematics II Part III, Chapter 11 Numerical Differentiation and Integration Numerical Differentiation and Integration

Today Topics Chapter 11 Numerical Differentiation and Integration –Derivative Approximation Forward, Backward, Centered Difference High Order Derivative High Accuracy Approximation –Integral Approximation Polynomial –Zero Order –First Order (Trapezoidal) –Second Order (Simpson 1/3) –Third Order (Simpson 3/8) More Accurate Method –Richardson Extrapolation

Slope of Line (x 1,y 1 ) (x 2,y 2 ) (y 2 -y 1 ) (x 2 -x 1 )  m=slope = tan  = (y 2 -y 1 )/ (x 2 -x 1 ) 

Definition of Derivative Derivative of f(x) at any point x is the slope of the tangent line at that point (x,f(x)) Mathematically For function y=f(x), derivative of function is written in many forms

Approximation of slope at point x using secant line Slope at ‘x’  [f(x+  x) - f(x)] /  x =  y /  x (x, f(x)) (x+  x, f(x+  x)) xx f(x+  x) - f(x) =  y As  x approaches 0, we have  y/  x approach a true slope of f at x.

Derivative(Forward) yy

Derivative(Backward) yy

Derivative(Central) yy

Introduction ในทางปฎิบัติ เราได้ Sample ของ Data เป็นจุด การหา Derivative ก็คือการลบค่าของจุด Data ที่อยู่ติดกันและ หารด้วยระยะห่างระหว่างจุด นี่คือวิธีการของ Finite Divided-Difference xixi x i+1 x i-1 f(x i ) f(x i-1 ) f(x i+1 ) h h

Finite Divided-Difference

Second Derivative

High Accuracy Finite Divided-Difference

Summary

Numerical Integration Newton-Cotes Integration Formula Zero-Order Approximation First-Order Approximation –Trapezoidal Rule Second-Order Approximation –Simpson 1/3 rule Third-Order Approximation –Simpson 3/8 rule Romberg Integration –Richardson Extrapolation –Romberg Integration Algorithm

Integral Approximation

x0x0 x1x1 x2x2 x3x3 x4x4 x n-1 xnxn

Zero-Order Approximation x0x0 x1x1 x2x2 x3x3 x4x4 x n-1 xnxn

Zero-Order Approximation a 0 =f(a) x0x0 x1x1 x2x2 x3x3 x4x4 x n-1 xnxn

Zero-Order Approximation a 0 =f((a+b)/2) x0x0 x1x1 x2x2 x3x3 x4x4 x n-1 xnxn

Zero-Order Approximation

First-Order Approximation x0x0 x1x1 x2x2 x3x3 x4x4 x n-1 xnxn

First-Order Approximation

Trapezoidal Rule

Second-Order Approximation x0x0 x1x1 x2x2 x3x3 x4x4 x n-1 xnxn Simpson’s 1/3 Rule

Second-Order Approximation

3n

Second-Order Approximation

Third-Order Approximation x0x0 x1x1 x2x2 x3x3 x4x4 x n-1 xnxn Simpson’s 3/8 Rule

Third Degree Approximation

Simson’s 3/8 Rule

Romberg Integration

Summary

Homework 10: Ch 11 Download HW Next Week – ส่งการบ้าน HW 10 –Chapter 11 Solutions of ODE –HW 11 (Option)