Title Page

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

BSc.

Energy and Environmental Engineering


4th Semester

Subject: Numerical Analysis for Engineers [ MA 221 ]

Submitted to: Sir Hafiz Waqas

Submitted by : Shaheryar Mansoor 20


Submission date : 2nd September 2021

Rectangular Rule
b

∫ f ( x ) dx=h f ( x 0 ) +h f ( x 1 )
a

x2

∫ f ( x 0 ) dx=h [ f ( x 0 ) + f ( x 1) ]
x0

Trapezoidal Rule
b

∫ f ( x ) dx= h2 [ f ( x 0 ) + f ( x 1 ) ] + h2 [ f ( x 1 ) +f ( x 2 ) ]
a

x2
h
∫ f ( x 0 ) dx= 2 [ f ( x0 ) + 2 f ( x1 ) + f ( x 2) ]
x0

1 rd
Simon’s Rule
3
b x5
h
∫ f ( x ) dx=∫ f ( x 0 ) dx= 3 [ f ( x 0 )+ [ 4 f ( x 1 )+ f ( x 3 ) ] +2 f ( x 2 ) +f ( x 4 ) ]
a x0

Question # 01
π
2

Find ∫ tan
π
( π2x ) dx using Rectangular Rule . For n=5∧compare your results .
4

Question # 02
3
1
Find ∫ 2
dx usi ng Trapezoidal Rule . For n=3∧5∧compare your results .
1 x
Question # 03
1
1 1 rd
Find ∫ x
'
dx usi ng Simo n s Rule . For n=4∧compare your results .
0 √ e −x +1 3

You might also like