CISE301_Topic6KFUPM1 SE301: Numerical Methods Topic 6 Numerical Differentiation Lecture 23 KFUPM Read Chapter 23, Sections 1-2.

Slides:



Advertisements
Similar presentations
Numerical Methods Lecture 14 Differentiation-Continuous Functions
Advertisements

CSE Differentiation Roger Crawfis. May 19, 2015OSU/CIS 5412 Numerical Differentiation The mathematical definition: Can also be thought of as the.
Romberg Rule of Integration
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 Computation
High Accuracy Differentiation Formulas
Chapter 7 Numerical Differentiation and Integration
Today’s class Romberg integration Gauss quadrature Numerical Methods
2. Numerical differentiation. Approximate a derivative of a given function. Approximate a derivative of a function defined by discrete data at the discrete.
Lecture 18 - Numerical Differentiation
SE301: Numerical Methods Topic 6 Numerical Differentiation Lecture 23
CE33500 – Computational Methods in Civil Engineering Differentiation Provided by : Shahab Afshari
Read Chapter 17 of the textbook
KFUPM SE301: Numerical Methods Topic 5: Interpolation Lectures 20-22:
SE301_14(c)AL-AMER20031 SE031Numerical Methods Topic 6 Numerical Differentiation Dr. Samir Al-Amer ( Term 053) Modified by Dr. Baroudi(072) Read chapter.
Chapter 19 Numerical Differentiation §Estimate the derivatives (slope, curvature, etc.) of a function by using the function values at only a set of discrete.
1 Chapter 6 NUMERICAL DIFFERENTIATION. 2 When we have to differentiate a function given by a set of tabulated values or when a complicated function is.
The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Numerical Analysis ECIV 3306 Chapter 23 Numerical Differentiation.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 27 Numerical Integration & Differentiation.
CISE301_Topic8L31 SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2,
CISE301_Topic8L1KFUPM1 CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1.
CISE301_Topic7KFUPM1 SE301: Numerical Methods Topic 7 Numerical Integration Lecture KFUPM Read Chapter 21, Section 1 Read Chapter 22, Sections 2-3.
Chapter 6 Differential Calculus
8/15/ Differentiation-Continuous Functions Major: All Engineering Majors Authors: Autar Kaw, Sri Harsha Garapati.
CISE301_Topic71 SE301: Numerical Methods Topic 7 Numerical Integration Lecture KFUPM (Term 101) Section 04 Read Chapter 21, Section 1 Read Chapter.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Numerical Differentiation and Integration Part 6 Calculus.
3.5 Derivatives of Trigonometric Functions. Revisiting the Differentiation Rules Find the derivatives of (a) y = x²sinx and (b) y = cosx / (1 – sinx).
1 Interpolation. 2 What is Interpolation ? Given (x 0,y 0 ), (x 1,y 1 ), …… (x n,y n ), find the value of ‘y’ at a.
Numerical Methods For Slides Thanks to Lecture 6 Interpolation
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 ~ Numerical Differentiation and Integration ~ Integration.
Differentiation A Slippery Slope - Jerks You Around - Accelerates Your Mind
Differentiation A Slippery Slope - Jerks You Around - Accelerates Your Mind
Today’s class Numerical Differentiation Finite Difference Methods Numerical Methods Lecture 14 Prof. Jinbo Bi CSE, UConn 1.
11/30/ Romberg Rule of Integration Mechanical Engineering Majors Authors: Autar Kaw, Charlie Barker
KFUPM SE301: Numerical Methods Topic 5: Interpolation Lectures 20-22:
1 Direct Method of Interpolation Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
Bell Ringer  Give me an example of a unit that measures distance.  What ALWAYS needs to go at the top of your graph?  What is the formula.
5.3: Position, Velocity and Acceleration. Warm-up (Remember Physics) m sec Find the velocity at t=2.
SE301_Topic 6Al-Amer20051 SE301:Numerical Methods Topic 6 Numerical Integration Dr. Samir Al-Amer Term 053.
CSE 330 Numerical Methods Lecture 05 Chapter 5: Numerical Differentiation Md. Omar Faruqe
CISE301_Topic8L71 CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2,
1 Numerical Differentiation. 2  First order derivatives  High order derivatives  Examples.
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.
PRODUCT & QUOTIENT RULES & HIGHER-ORDER DERIVATIVES (2.3)
Product and Quotient Rules and Higher-Order Derivatives
High Accuracy Differentiation Formulas
Interpolation.
Differentiation-Continuous Functions
Numerical Analysis Lecture 27.
Various Symbols for the Derivative
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L4&5.
RECTILINEAR KINEMATICS: ERRATIC MOTION
Spline Interpolation Method
Chapter 23.
Lecture 2 Chapter ( 2 ).
Numerical Differentiation Chapter 23
POLYNOMIAL INTERPOLATION
2.3B Higher Derivatives.
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L2.
MATH 174: NUMERICAL ANALYSIS I
Romberg Rule of Integration
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L6.
Romberg Rule of Integration
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L3 KFUPM.
Romberg Rule of Integration
Numerical Computation and Optimization
Romberg Rule of Integration
Presentation transcript:

CISE301_Topic6KFUPM1 SE301: Numerical Methods Topic 6 Numerical Differentiation Lecture 23 KFUPM Read Chapter 23, Sections 1-2

CISE301_Topic6KFUPM2 L ecture 23 Numerical Differentiation  First order derivatives  High order derivatives  Richardson Extrapolation  Examples

CISE301_Topic6KFUPM3 Motivation  How do you evaluate the derivative of a tabulated function.  How do we determine the velocity and acceleration from tabulated measurements. Time (second) Displacement (meters)

CISE301_Topic6KFUPM4 Recall

CISE301_Topic6KFUPM5 Three Formula

CISE301_Topic6KFUPM6 The Three Formulas

CISE301_Topic6KFUPM7 Forward/Backward Difference Formula

CISE301_Topic6KFUPM8 Central Difference Formula

CISE301_Topic6KFUPM9 The Three Formula (Revisited)

CISE301_Topic6KFUPM10 Higher Order Formulas

CISE301_Topic6KFUPM11 Other Higher Order Formulas

CISE301_Topic6KFUPM12 Richardson Extrapolation

CISE301_Topic6KFUPM13 Richardson Extrapolation

CISE301_Topic6KFUPM14 Richardson Extrapolation Table D(0,0)=Φ(h) D(1,0)=Φ(h/2)D(1,1) D(2,0)=Φ(h/4)D(2,1)D(2,2) D(3,0)=Φ(h/8)D(3,1)D(3,2)D(3,3)

CISE301_Topic6KFUPM15 Richardson Extrapolation Table

CISE301_Topic6KFUPM16 Example 1

CISE301_Topic6KFUPM17 Example First Column

CISE301_Topic6KFUPM18 Example Richardson Table

CISE301_Topic6KFUPM19 Example Richardson Table This is the best estimate of the derivative of the function. All entries of the Richardson table are estimates of the derivative of the function. The first column are estimates using the central difference formula with different h.

CISE301_Topic6KFUPM20 Example 2 The measured speed 'V m/sec.' of a car against time 'T, sec.' is as shown in the table below: a)Compute the car's acceleration at T=4 sec using the Richardson extrapolation with the best accuracy. b)What is the order of the error of the obtained result in part (a)? T(s) V(m/s)

CISE301_Topic6KFUPM21 Solution a)To find the acceleration, we have to differentiate V(4) From the table the max accuracy we can get is D(2,2) and h=2. First Column D(0,0) = [f(6)-f(2)]/2(2) = [17-12]/4 = 1.25 D(1,0) = [f(5)-f(3)]/2(1) = [15-10]/2 = 2.5 D(2,0) = [f(4.5)-f(3.5)]2/(0.5) = [14-12]/1 = 2 Second Column D(1,1) = (4/3)D(1,0)-(1/3)D(0,0) = (4/3)2.5 – (1/3)1.25 = D(2,1) = (4/3)D(2,0)-(1/3)D(1,0) = (4/3)2 – (1/3)2.5 = Third Column D(2,2) = (16/15)D(2,1)-(1/15)D(1,1) = (16/15) – (1/15) =

CISE301_Topic6KFUPM22 Example Richardson Table This is the best estimate of the derivative of the function. b)The order is O(h 6 ). O(h 2 ) O(h 4 ) O(h 6 )