To illustrate the Shanks transformation we will use the following series:
This series is converging very slowly. To illustate this we will compute ln(2):
The corresponding partial sum of ln(2) is:
Let calculate some terms of this partial sum:
Perform the Shanks transform (using SN = S4):
Since and
It is necessary to calculate up to 358 terms of the partial sum SN to obtain a relative error equal to that of the Shanks transformation
based on the first 4 terms.
Leave a comment