Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

COMPOSITE NUMERICAL INTEGRATION

PAULINA A. MARZAN

TRAPEZOIDAL RULE

Tn(f) ≈ ∫ ( )

( )≈ [ ( ) ( )] ∑ ( )

where:
i = 0 to n
k = 0 to n
h = (b – a) / n

EXAMPLE:

Estimate for the integral ∫ ( ) using the trapezoidal rule of order


10.

SOLUTION:
h = (b – a) / n

h = (4 – 2) / 10

h = 0.2
The value of the function f(x) at the required nodes is tabulated below:

i x f(x)
0 2 8
1 2.2 9.44
2 2.4 10.96
3 2.6 12.56
4 2.8 14.24
5 3 16
6 3.2 17.84
7 3.4 19.76
8 3.6 21.76
9 3.8 23.84
10 4 26

( )≈ [ ( ) ( )] ∑ ( )

( )≈ [ ] [( )(
)]

Tn(f) ≈ 32.68

∫ ( ) ≈

You might also like