[VA] SRC#005- April, 1st Mean Minichallenge
|
04-07-2019, 12:01 AM
(This post was last modified: 04-07-2019 12:09 AM by Albert Chan.)
Post: #7
|
|||
|
|||
RE: [VA] SRC#005- April, 1st Mean Minichallenge
Hi, Maximilian:
I too were afraid of posting a "stupid" solution (never heard of Generalized Mean) Mk^k = (a1^k + ... + an^k) / n The case for k=0 doesn't fit quite right, getting meaningless result, M0 = 1^∞ I had to convince myself this work for Geometric Mean. For k=ε (small value, but not exactly 0): LHS = Mε^ε = e^(ε ln(Mε)) ≈ 1 + ε ln(Mε) RHS = (a1^ε + ... + an^ε) / n ≈ ((1 + ε ln(a1)) + ... + (1 + ε ln(an))) / n ≈ 1 + ε ln(a1 ... an) / n ⇒ Mε ≈ n√(a1 ... an) ⇒ M0 = n√(a1 ... an) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)