|
Numerical examples |
|||||||
|
Computation of an infinite integral using a dynamical extrapolation method
Let us consider the integral
This integral arises in a study of the total electronic energy of crystals
using the tight binding approximation
[2].
The evaluation of
A theorem like those given in [1] has been established for the dynamical control of Romberg's method [3]. Combining it with two similar theorems, we can estimate the number of exact significant digits of the result obtained, which are common with the exact value of the infinite integral (including both the truncation error and the round-off error).
To combine efficiency and reliability the same expression of
Therefore
where
and
Functions
How to choose the optimal iterate
Computations stop if
We have shown that if
Each of these integrals is computed using Romberg's method. The approximation of an integral with Romberg's method is an iterate of a sequence which converges with an exponential speed to the exact value of this integral. How to choose the optimal iterate ? Approximations are computed until the difference between two successive iterates is not significant. We have shown that, for each integral, the approximation obtained has its exact significant bits common to the exact value of the integral, up to one.
How to choose the optimal iterate
Finally we have shown that using the CADNA library and the stopping
criteria previously described, we can estimate the number of exact
significant digits of the approximation of
References
To get the C source code. To get the FORTRAN source code. |