0% found this document useful (0 votes)
5 views

Numerical Integration Methods

Uploaded by

nckqxkdsx4
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Numerical Integration Methods

Uploaded by

nckqxkdsx4
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Given Data

i x_i y_i = f(x_i)


0 1.4 2.151
1 1.6 2.577
2 1.8 3.107
3 2.0 4.015
4 2.2 5.105
5 2.4 6.314
6 2.6 7.015

Method 1: Simpson's 1/3 Rule


The formula for Simpson's 1/3 Rule is:

I = (h/3) [y0 + 4Σy_odd + 2Σy_even + yn]

Substituting the values:

h = 0.2
Odd indices (y1, y3, y5): 2.577, 4.015, 6.314
Even indices (y2, y4): 3.107, 5.105
Endpoints (y0, y6): 2.151, 7.015

Calculation: I ≈ 5.1476

Method 2: Simpson's 3/8 Rule


The formula for Simpson's 3/8 Rule is:

I = (3h/8) [y0 + 3Σy_3_odd + 2Σy_even + yn]

Substituting the values:

h = 0.2
Indices for 3Σy: y1, y2, y4, y5 = 2.577, 3.107, 5.105, 6.314
Indices for 2Σy: y3 = 4.015
Endpoints (y0, y6): 2.151, 7.015

Calculation: I ≈ 5.1379

Method 3: Trapezoidal Rule with End Correction


The formula for the Trapezoidal Rule with End Correction is:

I = (h/2) [y0 + yn + 2Σy]

Substituting the values:


h = 0.2
Interior points (y1, y2, y3, y4, y5): 2.577, 3.107, 4.015, 5.105, 6.314
Endpoints (y0, y6): 2.151, 7.015

Calculation: I ≈ 5.1402

Final Results
1. Simpson's 1/3 Rule: I ≈ 5.1476

2. Simpson's 3/8 Rule: I ≈ 5.1379

3. Trapezoidal Rule with End Correction: I ≈ 5.1402

You might also like