Calculator benchmark
08-23-2021, 10:51 PM
Post: #48
 robve Senior Member Posts: 459 Joined: Sep 2020
RE: Calculator benchmark
I came up with a slightly shorter 103 keystroke solution for the SHARP PC-E500, saving 10 keystrokes for the execution by extending the program, adding 7 keystrokes. The program assigns B/2 to C so that C can be entered as a shortcut for B/2.

I hesitated to post this, because the method is slightly less generic than the one posted before that had no assumptions whatsoever on the values entered during execution, which is really nice. The more a method deviates from generality by implementing specific shortcuts for this problem posted by the OP, the less useful the benchmark may become to estimate how well a calculator performs for this type of problem (i.e. not this specific problem).

Setup takes 38 keystrokes:
Code:
[BASIC]                                      1 enter PRO MODE 1I.A[ENTER]                                  5 2I.B:C=B/2[ENTER]                           12 set C to B/2 so C can be used for B/2 later 3P.[x^2]A+A-[LN]B,[LN][x^2]B:G.1[ENTER]     20

Execution takes 65 keystrokes:
Code:
[BASIC]          1 enter RUN mode [F1][ENTER]      2 run 3.12[ENTER]      5 2.56[ENTER]      5 displays X and Y [ENTER]          1 A is unchanged C[ENTER]         2 C is B/2, displays X and Y [ENTER]          1 A is unchanged C[ENTER]         2 C is B/2, displays X and Y 2*A[ENTER]       4 [ENTER]          1 B is unchanged, displays X and Y 2*A[ENTER]       4 [ENTER]          1 B is unchanged, displays X and Y 2*A[ENTER]       4 C[ENTER]         2 C is B/2, displays X and Y [ENTER]          1 A is unchanged C[ENTER]         2 C is B/2, displays X and Y [ENTER]          1 A is unchanged C[ENTER]         2 C is B/2, displays X and Y 18.59[ENTER]     6 [ENTER]          1 B is unchanged, displays X and Y 17.63[ENTER]     6 [ENTER]          1 B is unchanged, displays X and Y [ENTER]          1 A is unchanged 2*B[ENTER]       4 displays X and Y [ENTER]          1 A is unchanged 2*B[ENTER]       4 displays X and Y

SHARP PC-E500 score: 103 keystrokes

SHARP PC-G850(V)(S) score: 104 keystrokes

The program and execution for the SHARP PC-G850(V)(S) is the same, but takes one more keystroke for R. (RUN) instead of F1.

- Rob

"I count on old friends to remain rational"
 « 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)