Presentation is loading. Please wait.

Presentation is loading. Please wait.

Numerical Analysis Lecture 28. Chapter 7 Numerical Differentiation and Integration.

Similar presentations


Presentation on theme: "Numerical Analysis Lecture 28. Chapter 7 Numerical Differentiation and Integration."— Presentation transcript:

1 Numerical Analysis Lecture 28

2 Chapter 7 Numerical Differentiation and Integration

3 INTRODUCTION DIFFERENTIATION USING DIFFERENCE OPREATORS DIFFERENTIATION USING INTERPOLATIONRICHARDSON’S EXTRAPOLATION METHOD NUMERICAL INTEGRATION

4 NEWTON-COTES INTEGRATION FORMULAE THE TRAPEZOIDAL RULE ( COMPOSITE FORM ) SIMPSON’S RULES ( COMPOSITE FORM ) ROMBERG’S INTEGRATION DOUBLE INTEGRATION

5 DIFFERENTIATION USING DIFFERENCE OPREATORS: Applications: Remember Using forward difference operator ∆, the shift operator, the backward difference operator and the average difference operator, we obtained the following formulae: Remember Using forward difference operator ∆, the shift operator, the backward difference operator and the average difference operator, we obtained the following formulae:

6

7

8

9 Recall from what we mentioned in the last lecture that for calculating the second derivative at an interior tabular point, we use the equation while for computing the first derivative at an interior tabular point, we in general use another convenient form for D, which is derived as follows. Multiply the right hand side of another convenient form for D, which is derived as follows. Multiply the right hand side of

10 by

11 which is unity and noting the Binomial expansion

12 we get simplification we get

13 Therefore the equation can also be written in another useful form as

14 The last two equations y” and y’ respectively are known as Stirling’s formulae for computing the derivatives of a tabular function. Similar formulae can be derived for computing higher order derivatives of a tabular function.

15 The equation for y’ can also be written as

16 In order to illustrate the use of formulae derived so far, for computing the derivatives of a tabulated function, we consider the Following example :

17 Example: Compute and from the following tabular data.

18 1.00 1.00 1.16 1.16 3.56 3.56 13.96 13.96 41.96 41.96101.00 0.00.20.40.60.81.0

19 Solution Since x = 0 and 0.2 appear at and near beginning of the table, it is appropriate to use formulae based on forward differences to find the derivatives. The difference table for the given data is depicted below:

20 0.0 1.00 0.2 1.16 0.4 3.56 0.6 13.96 0.8 41.96 1.0 101.00 0.16 2.40 10.40 28.00 59.04 2.24 8.00 17.60 31.04 5.76 9.60 13.44 3.84 3.84 0.0

21 Using forward difference formula for i.e

22 We obtain We obtain

23

24 Also, using the formula for we have we haveHence,

25

26 Example Find and from the table x y ( x ) 1.4 4.0552 1.6 4.9530 1.8 6.0496 2.0 7.3891 2.2 9.0250

27 Solution: Since x=2.2 occurs at the end of the table, it is appropriate to use backward difference formulae for derivatives. The backward difference table for the given data is shown below:

28 1.41.61.82.02.2 4.05524.96306.04967.38919.0250 0.8978 1.0966 1.3395 1.6359 0.19880.24290.2964 0.04410.0535 0.0094

29 Using backward difference formulae for and we have

30 Therefore,Also

31 Therefore,

32 Case IV: Derivation of Two and three point formulae: Retaining only the first term in equation :

33 we can get another useful form for the first derivative as

34 Similarly, by retaining only the first term in Eqn.

35

36 Adding the last two equations, we have

37 These Equations constitute two-point formulae for the first derivative. By retaining only the first term in Equation,

38

39 We get

40 Similarly, we have

41 While retaining only the first term in the expression for y” in terms of we obtain

42

43 The last three equations constitute three-point formulae for computing the second derivative. We shall see later that these two- and three-point formulae become handy for developing extrapolation methods to numerical differentiation and integration.

44 Numerical Analysis Lecture 28


Download ppt "Numerical Analysis Lecture 28. Chapter 7 Numerical Differentiation and Integration."

Similar presentations


Ads by Google