[VA] SRC#005- April, 1st Mean Minichallenge
|
04-10-2019, 12:10 AM
Post: #11
|
|||
|
|||
RE: [VA] SRC#005- April, 1st Mean Minichallenge
Hi, Albert Chan: (04-07-2019 12:01 AM)Albert Chan Wrote: The case for k=0 doesn't fit quite right, getting meaningless result, M0 = 1^∞ Good explanation. Though the code has to include the Geometric Mean as an special case to avoid the 1^∞ you mention, the generalized formula does actually work for values of k approaching from both sides. For instance, using my original solution we get: >RUN ? 1.999999 -> 4.3224 57 34930 { M1.999999 (general case) } ? 2 -> 4.3224 71 15132 { M2 (special case = Geometric Mean) } ? 2.000001 -> 4.3224 78 34444 { M2.000001 (general case) } V. . All My Articles & other Materials here: Valentin Albillo's HP Collection |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)