Calculator benchmark
08-16-2021, 06:22 AM
Post: #32
 EdS2 Senior Member Posts: 603 Joined: Apr 2014
RE: Calculator benchmark
.

Good questions Valentin...

(08-15-2021 03:47 PM)Valentin Albillo Wrote:  What's the best solution (less keystrokes) so far for the HP-15C ? Please post exact code and keystroke count.

That seems to be 104, as seen in post #3 upthread:

(08-08-2021 07:26 PM)C.Ret Wrote:  I found a way to spare keystrokes on HP-15C:

HP-15C

SETUP:
Code:
g P/R  f CLEAR PRGRM                              Enter new program                      4                                       f LBL A  STO 0  GTO 1                               Code to input A and goto display     7  f LBL B  STO 1                                      Code to input B                      5 f LBL 1  RCL 0  g x²  RCL+0  RCL 1  LN  -  f PSE    Code to display X=A²+A- LN B        16 g LSTx  ENTER  +                                    Code to display Y= LN B² = 2.LN B    4      g P/R  f USER                                     Return to RUN mode and                 4                                                   USER mode easiest start of A & B codes
Total of setup is 36 keystrokes.

TABLE ENTRY and RESULTS Display: X and Y displayed after each press of A or B key.
Code:
3.12  A  [←]  2.56  B                   Eventual press [←] to clear ERROR 0 when non initialized register R1 (B value) is zero   10                1.28  B                                                                    5                .64  B                                                                    4 6.24  A                                                                                  5 2  RCL*0  A                             (12.48=2* 6.24)                                  5 2  RCL*0  A    .32  B                   (24.96=2*12.48)                                  8                .16  B                                                                    4               1.32  B                                                                    5 18.59  A                                                                                 6 17.63  A                                                                                 6               2.64  B                                                                    5               5.28  B                                                                    5
Total 68 keystrokes for table entry and individual X and Y result display. if the user is not concentrate enough to read the X value during the pause, one additional press on the [X<>Y] key may exchange X and Y on display.

Score : 104
In case of a full functional and awake user !
That 30.2% less that the OP's suggested solution !

Quote:And what's the least number of keystrokes among all models ? Please post model and keystroke count,
That I don't know. As noted, one can hope that the results table here will be updated as progress is made. (Presently it shows the 48G at the top, with a score of 107, and if the result above is right, that can be beat by the 15C. The table shows the 15C at 109. But it might be that the fine detail of what should be counted makes 109 more correct than the 104 above.)
 « Next Oldest | Next Newest »

 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 - Valentin Albillo - 08-11-2021, 05:18 AM 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 - Valentin Albillo - 08-15-2021, 03:47 PM RE: Calculator benchmark - robve - 08-15-2021, 04:43 PM RE: Calculator benchmark - Maximilian Hohmann - 08-15-2021, 05:16 PM RE: Calculator benchmark - robve - 08-15-2021, 06:30 PM RE: Calculator benchmark - Maximilian Hohmann - 08-15-2021, 11:19 PM RE: Calculator benchmark - robve - 08-16-2021, 01:01 AM RE: Calculator benchmark - EdS2 - 08-16-2021 06:22 AM RE: Calculator benchmark - Valentin Albillo - 08-17-2021, 01:31 AM RE: Calculator benchmark - C.Ret - 08-19-2021, 04:37 AM RE: Calculator benchmark - Valentin Albillo - 08-19-2021, 04:55 AM RE: Calculator benchmark - C.Ret - 08-19-2021, 05:21 PM RE: Calculator benchmark - Valentin Albillo - 08-19-2021, 11:31 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)