[VA] SRC #012c - Then and Now: Sum
|
11-30-2022, 02:16 PM
(This post was last modified: 11-30-2022 02:22 PM by PeterP.)
Post: #14
|
|||
|
|||
RE: [VA] SRC #012c - Then and Now: Sum
Nicely done, Werner!
I got to the point where I had the sum on the left and the ln(2) times the partial sum on the right but I could not figure out the trick of adding the sum starting from 1 - K-1 back on the right side. Neat! I used the in(ln2(x))+1 formula for the number of digits and a different approximation for Hn and but it has similar limits for accuracy. With a few tweaks your amazing code would fit the 41 as well, which I was shooting for. Cheers, PeterP |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 7 Guest(s)