Docsity

Numerical Differentiation And Integration-Numerical Analysis-Lecture Slides, Slides of Mathematical Methods for Numerical Analysis and Optimization

Partial preview of the text

Download Numerical Differentiation And Integration-Numerical Analysis-Lecture Slides and more Slides Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Chapter 7Chapter 7NumericalNumericalDifferentiationDifferentiationand Integrationand Integration

NEWTON-COTESINTEGRATION FORMULAETHE TRAPEZOIDAL RULE(COMPOSITE FORM )SIMPSON’S RULES(COMPOSITE FORM )ROMBERG’S INTEGRATIONDOUBLE INTEGRATION

DIFFERENTIATIONUSINGDIFFERENCEOPERATORS

However, if we do not knowthe function as such or thefunction is complicated and isgiven in a tabular form at a setof points^ x

,x^ ,…,x^ , we use 0 1 n only numerical methods fordifferentiation or integrationof the given function.

We shall discussnumerical approximationto derivatives of functionsof two or more variables inthe lectures to follow whenwe shall talk about partialdifferential equations.

Subsequently, we shalldevelop Newton-Cotesformulae and relatedtrapezoidal rule andSimpson’s rule fornumerical integration ofa function.

DIFFERENTIATION

USINGDIFFERENCEOPERATORS

Case I:Using forward difference operator ∆^ and combining equationsand

1 E

( )^ ^ 

(^ )

E f x^

f x^ h   log log(^

hD^

E  ^

  docsity.com

Remember the Differentialoperator, D is known torepresents the property

( )^ ( )^ ( )^22 " ( )^ ( )^2

( ) dDf x f^ x^ f^

x dx d D f x f^ x^

f^ x dx

 ^ 

   ^ 

Therefore,^0

2 3 0

0 0 4 5 0 0

0 (^ )^ (^ )

(^ )^ (^ ) 1 (^ )^

(^2 3) ( ) (^ )^

(^ ) Df^ x^ f^ x f^ x^^4

f^ x f^ x h f^ x^ f^ x^

d^ f^ x dx  ^ ^

 ^ ^ ^

  

 ^  ^

^ ^  

In other words,^0

2 3

4 0 0

0 1 0 2

3 4 Dy^ y

y^ y^

y  ^ y h

 ^ ^

 ^ ^ ^

^ ^

 ^

 ^

 docsity.com

2 2 0 0 02 2 3 0

0 2 4

5 0 0 1 11

5 12 6 d yD y y dx y^

y h^  y^ y ^  ^

 ^  

 ^ ^

 ^ ^ ^

^  ^

 ^

 docsity.com

Case II:Using backward difference operator ,we have^  On expansion, we have

lo g (^

.) h D^  ^

  2 3 4

^ D h
^ ^    ^ ^
^
^
 docsity.com