[VA] SRC#005- April, 1st Mean Minichallenge
|
04-12-2019, 09:54 PM
Post: #18
|
|||
|
|||
RE: [VA] SRC#005- April, 1st Mean Minichallenge
Hello Valentin,
Sorry for being a bit late and thanks for the interesting challenge. I learned a lot about "mean" calculations (and about HP 15c prgramming). I always wondered how the geometric mean is connected to the other means. Here is my solution for the HP 15C: Code: 001 LBL A | 42,21,11 # Mean calculation subroutine, expects data in Matrix A and k in x The value for the geometric mean calculated by the logarithmic summation is: M2=4.322471149 The value calculated by multiplication is M2=4.322471151 Here are the values for the requested parameters: M-2.019 = 1.313123100 M0.61 = 1.979834390 M5/2 = 6.238885591 MPi = 8.981253690 The solution of Mp=pi is calculated by the sequence Code: 1 Best regards Bernd |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 6 Guest(s)