Numerical Differentiation and Integration
Numerical Differentiation and Integration
[where ]
Now,
Here,
And
From (i)
When, , p=0
given that
given that
given that
find at x=8
the general method for driving the numerical differentiation formula is to differentiate the interpolating polynomial
X Y
1 24
3 120
5 336
7 720
Numerical integration
• Trapezoidal Rule:
Note: this rule requires the division of the whole range into an even number of
subintervals.
0.0 1.0000
0.5 0.6667
1.0 0.5000
• Trapezoidal Rule:
=0.70835
• Simpson’s 1/3 Rule gives
=0.6945
(ii)Now consider
X 0 .25 .50 .75 1
y 1.000 .8000 .6667 .5714 .5000
(iii) Now we consider the tabulated values of x and y
X 0 .125 .250 .375 .5 .625 .750 .875 1.0
y 1.0 .8889 .8000 .7273 .6667 .6154 .5714 .5333 0.5
H.W.
Simpson’s 1/3 Rule, Simpson’s 3/8 Rule
Problem: Evaluate using (i) Simpson’s 1/3 rule.(ii) Simpson’s 3/3 rule(iii)
Trapezoidal rule
Problem: The velocity of a car (running) on a straight road at intervals of 2
minutes are given below:
apply Simpson‘s rule to find the distance covered by the car.
Time(in 0 2 4 6 8 10 12
min.)
Velocity (in 0 22 30 27 18 7 0
Km/hr)
Romberg integration:
Using, we get
• And,
Problem: The velocity of a car which starts from rest, is given
at the fixed intervals of time as follows:
T 2 4 6 8 10 12 14 16 18 20
v 10 18 25 29 32 20 11 5 2 0