Post Reply 
(11C) Geometric Harmonic Arithmetic mean
06-28-2024, 05:07 AM (This post was last modified: 06-28-2024 06:01 AM by Gamo.)
Post: #1
(11C) Geometric Harmonic Arithmetic mean
Program to calculate the Geometric, Harmonic and Arithmetic Mean.

Procedure:

Every new problem clear the Statistic Register

To clear Statistic Register Press [E]

Enter Data press [A] display show data count 1, 2, 3, .... n

Press [B] for Geometric Mean
Press [C] for Harmonic Mean
Press [D] for Arithmetic Mean
---------------------------------------------------------
Example: USER mode

Data: 40, 10

[E] Clear Statistic Register

40 [A] display 1
10 [A] display 2

[B] display answer for GM is 20
[C] display answer for HM is 16
[D] display answer for AM is 25
----------------------------------------------------------
Program:
Quote:LBL A
STO+6
1/x
LSTx
LN
Σ+
RTN
--------------
LBL B
X-Bar
e^x
RTN
-------------
LBL C
X-Bar
X<>Y
1/x
RTN
-------------
LBL D
RCL 6
RCL 0
÷
RTN
-------------
LBL E
[f] REG
[f] Σ
RTN

Gamo 6/2024
Find all posts by this user
Quote this message in a reply
06-28-2024, 05:34 AM
Post: #2
RE: (11C) Geometric Harmonic Arithmetic mean
(06-28-2024 05:07 AM)Gamo Wrote:  
Quote:ENTER
LSTx

Can be replaced by:
Code:
LSTx

Typo: Hamonic → Harmonic
Find all posts by this user
Quote this message in a reply
06-28-2024, 06:04 AM
Post: #3
RE: (11C) Geometric Harmonic Arithmetic mean
Thomas Klemm

Thank You for the corrections, I make change as you suggested.

Thanks

Gamo
Find all posts by this user
Quote this message in a reply
06-28-2024, 01:54 PM (This post was last modified: 06-28-2024 01:59 PM by bxparks.)
Post: #4
RE: (11C) Geometric Harmonic Arithmetic mean
I think you need to clear R6 in LBL E, unless [f] [CLEAR Σ] performs that function, which I don't think it does. (EDIT: I see that [f] [REG] will clear R6, ok)
Find all posts by this user
Quote this message in a reply
Post Reply 




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