Professional Documents
Culture Documents
of a single variablc,
ofa function
quadrature.
numerical integration, like
that of numerical
of
Tneproblem solved representing the integrand by a
difterentiation, is by this formula between
formula and then integrating
interpolation value of the definite
integral
the desired limits. Thus, to find the
interpolation formula,
dx, we replace the function y by an
y
and then integrate this formula
usually one involving differences, we can derive quadrature
between the limits a and b. In this way for
integration of any function
formula for the approximate
known.
which nymerical values are
Ordinates.
Quadrature Formula for Equidistant
A General (Meerut M.Sc.1986)
cercain
Let I=y dx where y=fx). Letf(x) be given for
Let the range
x say X. Xo+h, Xot+2h,..
.
equidistant values of
paris, each of width h so that
(a, b)be divided into n equal
b-a=nh.
Xn=atnh=b.
Let Xo=a, X1=Xo+h=a+h, X^=a-+2h, ..,
at
yn are
the ntl ordinates yo» V1, ,
We have assumed that
equal intervals.
h du
. dx=" y, dx-+uh
where u= dx=hdu
h
+»+(3)+
n+n t u p t o (n+1) terms
...(1)
We
We can
can dedice
formula.
quadrature
This is the general putting n=1, 2, ...
this
from by
number of formulace
Rule.
3. The Trapezoidal seco
the formula (1) of §
2 and neglecting
Putting n=1 in
we
differences, get
and higher order
=h
Similarly L dx-=h
(o+ nh
+nh h
x t(n 2) h y dx3 (Va-t 4y,-1ty.),
when n is ever
Adding all these integrals,
we get
o t
y dr= [(0o+y») +4 (y1+at.+Jn)
+2 (2+yat+yn-)).
one-third rule.
This formula is known as Simpson's
all differences above the
Note. Here we have neglected
must be a polynomial of second degree only, that is
second, s0 y
y=ax-+ bx+c.
M.Sc. 1972, 86)
5. Simpson's Three-cighth's Rule. (Meerut all
and neglecting
Putting n=3 in the formula (1) of §2
differences above the third, we get
(ot3h Av+(2)
JXo
+279)9
+ -3yat+3-)
3h
3y, +3y. +yal.
h
Similarly, dr=yat3y +3y, +yl
3h
tnh n-3t 3y-e+ 3y'n-1+Jn].
Jx,+ (n-s) h) ax3 have
all these integrals where n is a multiple of 3, we
Adding
Tnh 3/h
y dx=[(yo+y»)+3 (y1+2+y+ Ys+.+yn-1)
+2 (+J'st+.+y»-g).
This formula is known as Simpson's three-eighth's rule.
Here have neglected all differences above the third
Note. we
=40Jo=1'3862944x+4h=48 =l-56861 59
X=40
th=42 =14350845 + Sh=50 =l6094379
y=l6486586
o+2h-44
+2h=414 =l-4816045 x+6h=52
+3h=46 =15260563
Find Find b
dx y using Simpson's rule
=0
1/1=1Q000000
Xo+h=1/6 36/37-0 9729729
X+2h-2/6 36/40=09000000
Xg+3h=3/6 36/45=08000000
X+4h-4/6 36/52=06923076
+Sh=5/6 36/61 =0 5901639
g+6h=1
1/2-05000000
By Simpson's "1/3 rule,
we get
dx x+6h dx
1+x
o+Ys+4 (y+raty3)
1+x? Jx
+2 (y»+d
(14'137163)=07853979. .(1
By Simpson's '3/8' rule, we get
dx
I + 3 otya+3 (v+yty+y3)+2ya
the exact value and the value obtained by using the Trapezoidal
rule.
Sol. Divide the range of integration (-3, 3) into six equal
--)=1. Hence h=l. The values.of
91
width-
parts
cach of are given below
sub-division
for each
point of
function
the
y=x
(3)4-81
-3
(-2)=16
+h-2
(-1=1
x+2h-1
04=0
+3h=0
14=1
x+4h=1
24=16
+Sh=2
34=81
+6h=3
-3
x486=972.
By Trapezoidal rule, we get
d 9 V+yat+2 (tatstyt+yd|
1624-2x 34-115.
In this case we
observe that the Trapezoidal
give an accurate result. In rule does no
result than the general Simpson's rule gives a ette
Trapezoidal rule.
dx
Ex. 6.
Show that
J. 1+log 2-069315.
(Meerut B. Sc. 74)
Sol. To use Simpson's *1/3" rule, divide the range of inte-
gration (0, 1) into ten equal parts cach of width 1/10. Hence
Hence
h=1/10='1, n=10.
The values of y at each point of sub-division are given
below
1/119090909
th /1 2 8333333
, t2h2 1/1 3 = 7 6 9 2 3 0 7
+ 3h-3 /14=7142857
+ 4h4
1/15=6666666
Sh=5
1/166250000
X+6h=6
1/1 7-5882352
+7h-:7
1/1 8=5555555
x+8h=8
1/1-9-5263157
X+9h-9
1/2-5000000
x+10h1
+2 (a+tyaty)|
[15+4x 3:4595391 +-2x2:7281745]
20794505=6931501
=69315.
y4x
X=2 1/3
th=3 1/4
+2h-4 1/5
+3h-5 1/6
o+4h-6 1/7
+Sh=7 /8
+6h-8 1/9
+7h-9 1/10
x+8h=10 1/11
1/1=10000000
1/2-5000000
ot+h-1 1/52000000
t 2 h - 2
1/10=1000000
t3h3
1/17=0588235
t4h=4
1/26-0384615
t+Sh=5
1/37 0270270
+6h=6
rule, we get
By Simpson's '1/3
dx T = t t 4 (1tati)+2 (+3)
10270270-+2:5538462-+517647
=13661734.
ce dx=qyo+ya+4 (yi+pa)+2»
x58761905
11428571 +3:6666667 +1 0666667
=1-9587302=1:9587.
=log, 7.
The exact vaule of log
Thus log. 7-19587.
2ol6 m/2
Calculate an approximate value of Jo sin: dx
. 12
rule, (6) Simpson's } rule, using 11
11 ordinate,
(a) the Trapezoidal
Sol. First we divide the range of integration into ter
parts by taking the
interval of differencing h=z/20 and equa
then
we compute the values of the for ea
function f(x)=sin x for
each
of sub-division. These computed values are as showo poing
shown in the
following table.
X y=sin x
y=Sinx
tSh=57/20 70711
2
[T0000012(5-85311)1 [12:70622]
= 9981.