(12C) Geometric & Harmonic Mean - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (12C) Geometric & Harmonic Mean (/thread-14450.html) (12C) Geometric & Harmonic Mean - Gamo - 02-01-2020 10:39 AM Geometric Mean https://en.wikipedia.org/wiki/Geometric_mean (Interesting to note on about Aspect Ratios) Harmonic Mean https://en.wikipedia.org/wiki/Harmonic_mean (Interesting to note on Average Speed) -------------------------------------------------- Example: FIX 4 Data: 3, 3, 4, 6, 22 Each new problem must clear "Statistic Register" [f] [∑] // Clear Statistic Registers 3 [R/S] display 1.0000 3 [R/S] display 2.0000 4 [R/S] display 3.0000 6 [R/S] display 4.0000 22 [R/S] dispay 5.0000 When finish with all the data press 0 [R/S] to find GM and HM 0 [R/S] display 5.4372 [X<>Y] 4.4295 Answer: GM = 5.4372 and HM = 4.4295 -------------------------------------------------- Program: Code: 01 X=0 02 GTO 09 03 1/x 04 ENTER 05 LSTx 06 LN 07 ∑+ 08 GTO 00 09 x̄  // X-Bar 10 X<>Y 11 1/x 12 X<>Y 13 e^x 14 GTO 00 Gamo 2/2020