Yet another π formula
|
01-10-2021, 02:57 PM
(This post was last modified: 01-10-2021 03:12 PM by Gerson W. Barbosa.)
Post: #15
|
|||
|
|||
RE: Yet another π formula
Hello, Albert Chan,
(01-09-2021 09:22 PM)Albert Chan Wrote: First, try n=0, i.e. summation term = 0. I did that about seven years ago ( https://www.hpmuseum.org/forum/post-9194.html#pid9194 ). Then I noticed that optimal result (best approximation using the least number of terms) is obtained when the number of terms of the series is equal to the number of terms of the continued fraction. ln(2) = 1 - 1/2 + 1/3 - 1/4 + ... + (-1)^(n + 1)/n + 1/((2*n+1) + CF) CF: numeratorₖ = k*k; denominatorₖ = 2*n + 1; k = 1 to ∞ n = 2 k = 1 ln(2) ~ 1 - 1/2 + (-1)^(1 + 1)/((2*2+1)+1*1/(2*2+1)) ~ 9/13 ~ 0.69(23076923076923076923076923076923) n = 2 k = 10^6 ln(2) ~ 0.693147180559945309417232121458(3016) n = 2 k = 10^7 ln(2) ~ 0.6931471805599453094172321214581766 Here we need 10^7 terms of the continued fraction to correct ln(2) ~ 1/2 to 34 digits. On the other hand we get the same result with n = 22 and k = 22. Perhaps the correction CF for the Wallis Product is easier to prove, since the equivalent polynomial expressions of the first few terms of the CF match those described in this paper. More details in the beginning of this post. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)