Académique Documents
Professionnel Documents
Culture Documents
By Dr Ali Jawarneh
DrAliJawarneh 1
Integration of Equations/
I = I(h ) + E(h )
I: the exact value of the integral g I(h): the approximation from n-segment application of the trapezoidal rule E(h): the truncation error h: step size
DrAliJawarneh 2
ba h= n
Romberg Integration is a method for combining two numerical integral estimates to obtain a third, more accurate value.
f (x) I (h 1 ) f (x) I (h 2 )
h1 a f (x) I (h 1 ) b f (x) h1 b
DrAliJawarneh
h2 a
h2 b I (h 2 )
I combined
h1 a
h2 h2 a
I combined
h2 h2 b
3
f ( x ) I (h 1 )
E(h1 )
f (x)
I (h 2 )
E(h 2 )
h1 a b a
h2
h2 b
I 1 = I(h1 ) + E(h1 ) I1 = I 2
I 2 = I(h 2 ) + E(h 2 )
(1)
b
ba E h f (x) 12
2 "
f ( x) =
"
f " ( x)
a
b 1
DrAliJawarneh
E(h1 ) h1 2 ( ) E(h 2 ) h2
From (1)
h1 2 E(h1 ) E(h 2 )( ) h2
I (h 1 ) I (h 2 ) E(h 2 ) h1 2 1 ( ) h2
I I (h 2 ) +
1 h1 2 ( ) 1 h2
[I(h 2 ) I(h1 )]
4 1 I I (h 2 ) I (h 1 ) 3 3
DrAliJawarneh
h1 h2 = 2
We have combined two trapezoidal rules[ I(h1) of order O(h2) and I(h2) of order O(h2)] to yield a new estimate of I of order O(h4)
5
segments 1 2 4
t = 16.6%
t = 1%
DrAliJawarneh
using the composite trapezoidal rule. The first with step size of 0.2 gave a value of 1.8 and the second with a step size of 0 4 and gave a value of 0 95 Wh t will be the i f 0.4 d l f 0.95. What ill b th value of the integral with O(h4)?
Solution
4 1 I I (h 2 ) I (h 1 ) 3 3