![]()
![]()
for
Background for Romberg
Integration. To
approximate the integral
by
generating a table of approximations, and using
as
the final answer.
The approximations
are
stored in a special lower triangular matrix. The
elements
of
the first column are computed using the sequential trapezoidal
rule
based on
subintervals
of
; then
is computed using Romberg's rule.
Elements of
row j are
.
The algorithm is terminated when ![]()
.
Proof Romberg Integration Romberg Integration
Animations (Romberg Integration Romberg Integration).
Computer Programs Romberg Integration Romberg Integration
The subroutine Romberg is "dynamic" in the
following sense. At the start, we initialize the array
with the command
and it contains one row and one element
, in
which we place one element
. Next,
the increment command,
is
used to make
,
and the Append command,
, is
invoked which adds a second row to
,
which is initialized with zeros,
. Then
the TrapRule subroutine is called to perform the sequential
trapezoidal rule and fill in the first entry
and
Romberg's rule is used to fill in the second
entry
. And
so it goes, the sequential trapezoidal rule is used to fill in the
first entry in succeeding rows and Romberg's rule fills in
rest of the entries in that row. The algorithm is
terminated when
.
Mathematica Subroutine (Romberg Integration).
Example
1 Investigate Romberg integration for
approximating the integral
.
Use the tolerances
. Compare
with the analytic or "true value" of the integral.
Solution
1.
Example 2. Use
Romberg integration to compute a numerical approximation to the
integral
.
Use the tolerances
. Compare
with the analytic or "true value" of the integral.
Solution
2.
Example 3. Use
Romberg integration to compute a numerical approximation to the
integral
.
Use the tolerances
. Compare
with Mathematica's "numerical value" of the integral.
Solution
3.
Example 4. Use
Romberg integration to compute a numerical approximation to the
integral
.
Use the tolerances
. Compare
with the analytic or "true value" of the integral.
Solution
4.
Example 5. Use
Romberg integration to compute a numerical approximation to the
integral
.
Use the tolerances
. Compare
with the analytic or "true value" of the integral.
Solution
5.
Various Scenarios and Animations for Romberg Integration.
Example
6. Let
over
. Use
Romberg integration to approximate the value of the
integral.
Solution
6.
Animations (Romberg Integration Romberg Integration).
Old Lab Project (Romberg Integration Romberg Integration). Internet hyperlinks to an old lab project.
Research Experience for Undergraduates
Romberg integration Romberg integration Internet hyperlinks to web sites and a bibliography of articles.
Download this Mathematica Notebook Romberg Integration
Return to Numerical Methods - Numerical Analysis
(c) John H. Mathews 2004