Unit-5 Numerical Integration: Humanities & Science Department
Unit-5 Numerical Integration: Humanities & Science Department
Unit-5 Numerical Integration: Humanities & Science Department
Numerical Integration
2140706 – Numerical & Statistical Methods
Integrand
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 2
Graphical representation of Integral
Graph of
Where
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 4
Why Numerical Integration ?
There
are many functions
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 5
Numerical Integration
Consider the observation table
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 6
Methods of Numerical integration
1. Trapezoidal Rule
4. Weddle’s Rule
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 7
Trapezoidal Rule
“Trapezoid” approximation
with one subinterval
Numerical & Statistical methods (2140706) Darshan Institute Of Engineering & Technology 8
Trapezoidal Rule
“Trapezoid” approximation
with two subinterval
Numerical & Statistical methods (2140706) Darshan Institute Of Engineering & Technology 9
Trapezoidal Rule
“Trapezoid” approximation
with three subinterval
Numerical & Statistical methods (2140706) Darshan Institute Of Engineering & Technology 10
Derive Trapezoidal rule.
By Newton-cotes quadrature formula
Similarly,
For the next interval
Formula :
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 13
Example
Evaluate using trapezoidal rule with
Solution :
Here , &
Now,
Let,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 14
1.3499
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 15
By the Trapezoidal rule,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 16
Example
Find the work done on the gas as it is compressed from
by using Trapezoidal rule.
Use
Solution :
Here &
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 17
By the Trapezoidal rule,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 18
Example
Evaluate using trapezoidal rule with
Solution :
Here , &
Now,
Let,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 19
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 20
By the Trapezoidal rule,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 21
Simpson’s 1/3 Rule
Graph of
Parabola
Graph of
Parabola
Numerical & Statistical methods (2140706) Darshan Institute Of Engineering & Technology 23
Simpson’s 1/3 Rule
Simpson’s rule is an extension of Trapezoidal rule.
Simpson’s rule , we will use parabola to
approximate the curve.
For Simpson’s rule , should be multiple of
two(even).
Numerical & Statistical methods (2140706) Darshan Institute Of Engineering & Technology 24
Simpson’s 1/3 Rule
The no. of ordinates ( y values ) is odd.
The accuracy can be improved by increasing
n(subinterval)
Integration is approximated by second order
polynomial (quadratic).
Numerical & Statistical methods (2140706) Darshan Institute Of Engineering & Technology 25
Simpson’s 1/3 Rule
Consider the observation table
+ +
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 26
Example 1
Evaluate taking using Simpson’s rule. Hence Obtain an
approximate value of .
Solution :
Here , &
Now,
Let,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 27
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 28
By the Simpson’s rule,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 29
Example
Find the exact solution of integral
By Direct Method,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 30
Example 5
The speed, meter per second, of a car, second after it
starts, is shown in the following table.
Find the distance travelled by the car in minutes.Using
Simpson's rule.
T 0 12 24 36 48 60 72 84 96 108 120
(time)
V 0 3.6 10.08 18.90 21.6 18.54 10.26 4.5 4.5 5.4 9
(Speed)
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 31
Example 5
Let (meters) distance be travelled in (seconds).
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 32
t 0 12 24 36 48 60 72 84 96 108 120
v 0 3.6 10.08 18.90 21.6 18.54 10.26 4.5 4.5 5.4 9
By
using Simpson's rule,
metres
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 33
Example 8
Evaluate using Simpson’s rule with taking six
subintervals. Use four digits after decimal points for
calculation.
Solution :
Here , &
Now,
Let,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 34
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 35
By the Simpson’s rule,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 36
Simpson’s 3/8 Rule
Consider the observation table
+ +
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 37
Simpson’s 3/8 Rule
a b c d a b c
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 38
Error bounds in Simpson's 3/8 rule
If is continuous in then the error in Simpson's rule is
Constant
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 39
Example 2
Evaluate taking using Simpson’s rule. Hence Obtain an
approximate value of .Estimate the bound of error
involved in the process.
Solution :
Here , &
Now,
Let,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 40
1
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 41
1
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 42
Example
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 43
Error
bound :
When
Max. value of in is
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 44
Error
bound :
When
Max. value of in is
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 45
Example
Evaluate
using Simpson’s rule.
Solution:
Let
Let
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 46
By Simpson's 3/8 rule,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 47
Example
Evaluate using Simpson’s rule with
Solution :
Here , &
Now,
Let,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 48
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 49
By Simpson's 3/8 rule,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 50
Weddle’s rule
We remember
How to remember
it toitmake
easilyformula.
?
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 51
Weddle’s rule
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 52
Example -1
Consider
the following tabular values.
X 25 25.1 25.2 25.3 25.4 25.5 25.6
F(x) 3.205 3.217 3.232 3.245 3.256 3.268 3.28
Determine the area bounded by the given curve and -axis between
to by Weddle's rule.
Solution :
Here , &
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 53
X 25 25.1 25.2 25.3 25.4 25.5 25.6
F(x) 3.205 3.217 3.232 3.245 3.256 3.268 3.28
By Weddle's rule,
Numerical and statistical method (2140706) Darshan Institute of engineering & Technology 54