Post Reply 
[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
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [VA] SRC #012c - Then and Now: Sum - PeterP - 11-30-2022 02:16 PM



User(s) browsing this thread: 1 Guest(s)