Maths

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 9

Created by:-

130070119047-Mistry Tushar
130070119049-Modi Parth
130070119050-Motisariya Ravin
130070119051-Panchal Ketul
130070119052-Parikh Manir
130070119053-Parmar Dinesh
130070119054 -Patel Akash
Guided By:-
Prof. Nilesh Sonara
BIRLA VISHVAKARMA MAHAVIDHYALYA
MECHANICAL ENGINEERING
V.V.NAGAR
Batch C-6
Composite Trapezoidal Rule:
Divide the interval into n subintervals and apply
Trapezoidal Rule in each subinterval.

b
h n 1

 f ( x )dx   f a   2 f ( x k )  f (b)
a
2 k 1 
where

ba
h and x k  a  kh for k  0, 1, 2, ... , n
n
π

Find  sin (x)dx


0

by dividing the interval into 20 subintervals.

n  20
ba π
h 
n 20

x k  a  kh  , k  0, 1, 2, ....., 20
20
π
h n 1

0 sin( x )dx  2  f a   2
k 1
f ( x k )  f ( b )

π  19
 kπ  
  sin0   2 sin   sinπ 
40  k 1  20  
 1.995886
Composite Simpson’s Rule:
Divide the interval into n subintervals and apply
Simpson’s Rule on each consecutive pair of subinterval.
Note that n must be even.

b
h ( n / 2 ) 1

 f ( x )dx   f a   2  f (x 2k )
a
3 k 1

n/ 2

 4 f ( x 2 k 1 )  f (b )
k 1 
where
ba
h and x k  a  kh for k  0, 1, 2, ... , n
n
π

Find  sin (x)dx


0

by dividing the interval into 20 subintervals.

ba π
n  20 h 
n 20

x k  a  kh  , k  0, 1, 2, ....., 20
20
π
π  9
 2kπ 
0 sin( x )dx  60 sin0  2
k 1
sin
 20 

10
 ( 2k  1)π  
 4 sin   sin( π)
k 1  20  
 2.000006
 In Newton-Cote Methods, the function is
approximated by a polynomial of order n.
 Computing the integral of a polynomial is
easy.


a
b
f ( x)dx  
a
b
a
0  a1 x  ...  a n xn
dx
b (b 2  a 2 ) (b n 1  a n 1 )

a
f ( x)dx a0 (b  a )  a1
2
 ...  an
n 1

CISE301_Topic7 8
 Trapezoid Method (First Order Polynomials are used)

b b
a
f ( x)dx  
a
a0  a1 x dx

 Simpson 1/3 Rule (Second Order Polynomials are used)

a
b
f ( x)dx  
a
b
a 0  a1 x  a 2 x 
2
dx

CISE301_Topic7 9

You might also like