Let fj = f(xj)
where x is used to denote either r or
.
By definition, the central difference operator is given by
| (54) |
Then
| (55) |
and
| = | |||
| = | fj+1 - 2 fj + fj-1. | (56) |
Many atomic properties require the evaluation of an integral, say,
| (57) |
where xM is a suitably chosen large value of x,
such that
is negligible. When f(x) is tabulated at equally spaced points
,
where M is even, the integration may be represented by the composite
rule
![]() |
(58) |
where each individual integral is over two adjacent intervals. It
can be shown that
| (59) |
This formula uses values of the integrand outside the range of integration
and cannot be used for the first and last integral. In these cases the
term may be omitted leading to the well-known Simpson's rule
| (60) |
For certain integrals the accuracy of Simpson's rule is satisfactory.