Docsity

Module 2 Lesson 5 Numerical Differentiation Backward Difference Method, Lecture notes of Engineering Mathematics

Partial preview of the text

Download Module 2 Lesson 5 Numerical Differentiation Backward Difference Method and more Lecture notes Engineering Mathematics in PDF only on Docsity!

Module 2

Lesson 5

Numerical Differentiation

Backward Difference Method

Edgar M. Adina

Instructor

CE 50 P- 2

Numerical Solutions to Engineering Problems

Introduction

โžข Calculus is the mathematics of change. Because engineers must

continuously deal with systems and processes that change, calculus is

an essential tool of engineering.

โžข Standing in the heart of calculus are the mathematical concepts of

differentiation and integration :

=ฮ”๐‘ฅ lim 0

๐‘Ž

๐‘

Applications

โžข Differentiation has so many engineering applications

(heat transfer, fluid dynamics, chemical reaction kinetics,

etcโ€ฆ)

โžข Integration is equally used in engineering (compute work

in ME, nonuniform force in SE, cross-sectional area of a

river, etcโ€ฆ)

Differentiation

The finite difference becomes a derivative as ฮ”x approaches zero.

๐œŸ๐’š

๐œŸ๐’™

=

๐’‡(๐’™๐’Š + ๐œŸ๐’™) โˆ’ ๐’‡(๐’™๐’Š)

๐œŸ๐’™ x

f x x f x

dx

dy (^) i i

x (^) ๏„

๏„

๏„

( ) ( ) lim 0

  • โˆ’ = โ†’

Backward Difference Approximation of the

First Derivative Cont.

This is a backward difference approximation as you are taking a point

backward from x. To find the value of (^) f ๏‚ข( ) x at i x = x , we may choose another

point (^) ' ฮ” x '

behind as x =^ xi โˆ’ 1. This gives

( )

( ) ( )

x

f x f x f x

i i i ๏„

โˆ’ ๏‚ข (^) ๏‚ป

โˆ’ 1

( ) ( )

1

1

โˆ’

โˆ’

i i

i i

x x

f x f x

where

1 ฮ” โˆ’ = โˆ’ i i x x x

x-ฮ”x^ x

x

f(x)

Figure 2 Graphical Representation of backward difference

approximation of first derivative

Backward Difference Approximation of the First

Derivative Cont.

Example 2

Solution

( )

( ) ( )

t

t t

a t

i i

๏ฎ ๏ฎ โˆ’ (^1) = 16

ti ฮ” t = 2

14

16 2

1

=

= โˆ’

t (^) i โˆ’ = ti โˆ’๏„ t

( )

( ) ( )

a ๏‚ป

( ) ( )

  1. 8 ( 16 ) 14 10 210016

16 2000 ln 4

4

๏ƒบ^ โˆ’

๏ฎ = = 392. 07 m/s

( ) ( )

14 2000 ln

4

4

๏ฎ = = 334. 24 m/s

( )

( ) ( )

2

16 14 16

๏ฎ โˆ’ ๏ฎ a ๏‚ป

2

๏‚ป 28. 915 m/s

Example 2

The absolute relative true error is

t x

The exact value of the acceleration at from Example 1 is

( )

2

a 16 = 29. 674 m/s

t = 16 s

Backward Difference Formulas- 2

nd

derivative

โ‘ Start with Lagrange interpolation polynomial for f (x) based on the four

points x

i

, x

i- 1

, x

i- 2

and x

i- 3

โ‘ Differentiate the products in the numerators twice

โ‘ Substitute x = xi and consider the fact that xj - xi =(j- i)h

โ‘ The expression of the second derivative is then:

โ„Ž^2

2 )