Professional Documents
Culture Documents
INTEGRATION
TRAPEZOIDAL
RULE
2
x 4 x 2
n = 8
0
ba 20 1
x = = =
n 8 4
2
x 4 x 2 = 12 yo + y1 + y2 + .... + y7 + 12 y8 x
0
i xi yi ki ki x yi
0 0 0.000 1/2 0.000
1 0.496 1 0.496
2 0.968 1 0.968
3 1.391 1 1.391
4 1 1.732 1 1.732
5 5/4 1.952 1 1.952
6 3/2 1.984 1 1.984
7 7/4 1.694 1 1.694
8 2 0.000 1/2 0.000
TOTAL 10.217
2 1
0
x 4 x 2 = 10.217 = 2.554
4
rounded
off
to
three
(3)
decimal
places
SIMPSONS
RULE
( ) x3
2
0
f (x)dx = yo + 4y1 + 2y2 + 4y3 + 2y 4 + 4y5 + 2y6 + 4y7 + y8
i xi yi ki ki x yi
0 0.000 0.000 1 0.000
1 0.250 0.496 4 1.984
2 0.500 0.968 2 1.936
3 0.750 1.391 4 5.562
4 1.000 1.732 2 3.464
5 1.250 1.952 4 7.806
6 1.500 1.984 2 3.969
7 1.750 1.694 4 6.778
8 2.000 0.000 1 0.000
TOTAL 31.500
1
2
0 x 4 x = 31.500 34 = 2.625
2
rounded
off
to
three
(3)
decimal
places
DEFINITE
INTEGRAL
2
1
1
(4 x ) ( 4 2 ) 13 ( 4 0 ) = 83 = 2.667
2 3 3 3
0 x 4 x = 3 =
2 2 2 2
3
0
Assignment:
Use
Trapezoidal
and
Simpsons
Rule
to
approximate
the
following
non-elementary
integral.
Use
n
=
6
and
round
off
to
four
decimal
places.
1
1.
e x dx
0
13
2.
1 + x 2 dx
0