Post Reply 
Calculator benchmark
08-09-2021, 08:14 PM (This post was last modified: 08-09-2021 08:25 PM by Claudio L..)
Post: #7
RE: Calculator benchmark
Using newRPL on a 50g:
Entering A: 45 keystrokes
Entering B: 45 keystrokes
Computing X and Y: 14 keystrokes

Using newRPL on a Prime G1:
Computing X and Y: 10 keystrokes (because the x^2 key is not shifted and LN isn't shifted)

Total:
newRPL on Prime = 100 keystrokes
newRPL on 50g = 104 keystrokes

**EDIT**:
Starting with an empty stack, creating the lists for A and B can be done using the interactive stack in 6 and 7 keystrokes respectively (instead of 9+9), lowering the count to 95 for the Prime and 99 for the 50g.


Code:

Entering A:
5 ---- 3.12 [Ent] (enter 3.12 to the stack)
1 ---- [Ent] (second 3.12)
1 ---- [Ent] (third 3.12)
3 ---- [Ent] [Ent] [+] (6.24)
3 ---- [Ent] [Ent] [+] (12.48)
3 ---- [Ent] [Ent] [+] (24.96)
1 ---- [Ent] (second 24.96)
1 ---- [Ent] (third 24.96)
6 ---- 18.59 [Ent]
6 ---- 17.63 [Ent]
1 ---- [Ent] (second 17.63)
1 ---- [Ent] (third 17.63)
Total = 32 to enter the numbers
To make a list (12 ->LIST)
9 ---- 12 [Ent] [Shift][0] [Alpha]+[L]+[Right] [Ent]
To store as 'A' ('A' STO):
4 ---- [O] [Alpha]+[A] [M]

Total to enter A as a list and store it in variable 'A': 45

Entering B:
5 ---- 2.56 [Ent] (enter 2.56)
3 ---- [Ent] 2 /  (enter 1.28)
3 ---- [Ent] 2 /  (enter 0.64)
1 ---- [Ent] (second 0.64)
1 ---- [Ent] (third 0.64)
3 ---- [Ent] 2 /  (enter 0.32)
3 ---- [Ent] 2 /  (enter 0.16)
5 ---- 1.32 [Ent] (enter 1.32)  
1 ---- [Ent] (second 1.32)
1 ---- [Ent] (third 1.32)
3 ---- [Ent] [Ent] +  (enter 2.64)
3 ---- [Ent] [Ent] +  (enter 5.28)
Total = 32 keystrokes to enter the numbers
+ 9 to make a list (same as case for A)
+ 4 to store it as 'B'

Total of 45 keystrokes to input B (by chance is the same as for A)

Computing X is 9 keystrokes (leaves X as a list on the stack, add 4 keystrokes if you want to store it on variable X but the benchmark did not specify that, only display):
[A] [A] [*] [A] [+] [B] [Shift] [LN] [-]

Finally, computing Y is 5 more:
[B] [B] [*] [Shift] [LN]

Total = 45 + 45 + 9 + 5 =104 keystrokes.

On a Prime G1 keyboard, though, computing X is only 7 keystrokes:
[A] [x^2] [A] [+] [B] [LN] [-]

and computing Y only 3:
[B] [x^2] [LN]

Hence the total = 45 + 45 + 7 + 3 =100 keystrokes.

PS: I think this is an interesting benchmark, should probably be moved to the general forum. I'd say if HP calculators are present in the benchmark, it's definitely HP calculator related.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Calculator benchmark - jhallen - 08-08-2021, 05:42 AM
RE: Calculator benchmark HP-28S - C.Ret - 08-08-2021, 04:46 PM
RE: Calculator benchmark - C.Ret - 08-08-2021, 07:26 PM
RE: Calculator benchmark - jhallen - 08-08-2021, 08:05 PM
RE: Calculator benchmark - OlidaBel - 08-11-2021, 12:40 PM
RE: Calculator benchmark - C.Ret - 08-08-2021, 08:25 PM
RE: Calculator benchmark - robve - 08-11-2021, 08:15 PM
RE: Calculator benchmark - jhallen - 08-08-2021, 09:57 PM
RE: Calculator benchmark - C.Ret - 08-12-2021, 04:24 PM
RE: Calculator benchmark - robve - 08-12-2021, 09:13 PM
RE: Calculator benchmark - robve - 08-12-2021, 11:37 PM
RE: Calculator benchmark - Claudio L. - 08-09-2021 08:14 PM
RE: Calculator benchmark - jhallen - 08-11-2021, 04:33 AM
RE: Calculator benchmark - Claudio L. - 08-11-2021, 05:14 PM
RE: Calculator benchmark - OlidaBel - 08-11-2021, 09:00 AM
RE: Calculator benchmark - jhallen - 08-11-2021, 01:16 PM
RE: Calculator benchmark - OlidaBel - 08-11-2021, 01:33 PM
RE: Calculator benchmark - Werner - 08-11-2021, 11:49 AM
RE: Calculator benchmark - jhallen - 08-11-2021, 01:11 PM
RE: Calculator benchmark - DavidM - 08-12-2021, 01:42 AM
RE: Calculator benchmark - robve - 08-13-2021, 02:16 PM
RE: Calculator benchmark - jhallen - 08-20-2021, 03:34 AM
RE: Calculator benchmark - robve - 08-20-2021, 02:49 PM
RE: Calculator benchmark - robve - 08-20-2021, 06:12 PM
RE: Calculator benchmark - jhallen - 08-20-2021, 08:26 PM
RE: Calculator benchmark - robve - 08-13-2021, 09:10 PM
RE: Calculator benchmark - C.Ret - 08-15-2021, 01:13 PM
RE: Calculator benchmark - robve - 08-15-2021, 02:31 PM
RE: Calculator benchmark - robve - 08-15-2021, 04:43 PM
RE: Calculator benchmark - robve - 08-15-2021, 06:30 PM
RE: Calculator benchmark - robve - 08-16-2021, 01:01 AM
RE: Calculator benchmark - EdS2 - 08-16-2021, 06:22 AM
RE: Calculator benchmark - C.Ret - 08-19-2021, 04:37 AM
RE: Calculator benchmark - C.Ret - 08-19-2021, 05:21 PM
RE: Calculator benchmark - Werner - 08-20-2021, 02:58 PM
RE: Calculator benchmark - C.Ret - 08-22-2021, 10:29 AM
RE: Calculator benchmark - jhallen - 08-17-2021, 03:56 AM
RE: Calculator benchmark - C.Ret - 08-18-2021, 08:20 PM
RE: Calculator benchmark - jhallen - 08-19-2021, 12:23 AM
RE: Calculator benchmark - jhallen - 08-22-2021, 06:42 PM
RE: Calculator benchmark - robve - 08-23-2021, 10:51 PM
RE: Calculator benchmark - robve - 09-22-2021, 06:14 PM
RE: Calculator benchmark - robve - 09-25-2021, 01:25 AM
RE: Calculator benchmark - robve - 10-02-2021, 10:08 PM



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