HP Forums
Challenge: Generate a 64 in the display (RPN) - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: Challenge: Generate a 64 in the display (RPN) (/thread-15529.html)

Pages: 1 2 3 4


RE: Challenge: Generate a 64 in the display (RPN) - Gerson W. Barbosa - 09-03-2020 05:24 PM

\(\pi\) x! x! LN INT x²


RE: Challenge: Generate a 64 in the display (RPN) - grsbanks - 09-03-2020 06:39 PM

In 3 steps if you don't know how to get "@" in the alpha register on a 41C...

Code:
" "
ATOX
ST+ X

or

Code:

"A"
ATOX
DSE X



RE: Challenge: Generate a 64 in the display (RPN) - Gene - 09-03-2020 07:13 PM

Keep these coming. Don't throw away your solution if it isn't one of these two or three step ones. Here's one interesting solution (to me)...

7 steps - any RPN with the INT function

DEG
PI
PI
COS
-
ATAN
INT

I suspect that solution was worked backwards!
Gene


RE: Challenge: Generate a 64 in the display (RPN) - Albert Chan - 09-03-2020 07:13 PM

HP-12C, 8 steps, 2^6 = 64

CLX
E^X
ENTER
+
ENTER
1/X
12X
X^Y


RE: Challenge: Generate a 64 in the display (RPN) - DanM - 09-03-2020 07:25 PM

42S
Not very elegant, 7 steps

CL(Sigma)
Sigma+
Sigma+
Enter
Sigma+
Y^X
X^2


RE: Challenge: Generate a 64 in the display (RPN) - Gene - 09-03-2020 09:37 PM

Here is another interesting one.

CLX
GRAD
COS
ENTER
SIN
1/X
+
INT


RE: Challenge: Generate a 64 in the display (RPN) - BruceH - 09-03-2020 09:48 PM

(09-03-2020 07:25 PM)DanM Wrote:  Not very elegant, 7 steps

No, that's quite elegant compared to the worst possible solution which is a two-step solution for the HP-50G.

Step 1: reset the calculator!
Step 2: RCWS

:-)


RE: Challenge: Generate a 64 in the display (RPN) - pinkman - 09-03-2020 10:31 PM

(09-03-2020 05:22 PM)Massimo C. Wrote:  HP 35s: 4 steps

<-
-> °F
ENTER
+

Not really a « Classic » calc, but I love this solution!


RE: Challenge: Generate a 64 in the display (RPN) - ijabbott - 09-03-2020 10:42 PM

HP-11C: 8 steps

CLx
e^x
ENTER
+
x^2
x^2
LSTx
*


RE: Challenge: Generate a 64 in the display (RPN) - Namir - 09-03-2020 11:00 PM

Anyone care to share their two-step solution?

Mine is:

EEX 64
LOG

Namir


RE: Challenge: Generate a 64 in the display (RPN) - pinkman - 09-03-2020 11:01 PM

My 2 cents in 5 steps (HP42s):

01 PI
02 IP
03 X↑2
04 DSE ST X
05 X↑2


RE: Challenge: Generate a 64 in the display (RPN) - Joe Horn - 09-03-2020 11:07 PM

(09-03-2020 09:48 PM)BruceH Wrote:  
(09-03-2020 07:25 PM)DanM Wrote:  Not very elegant, 7 steps

No, that's quite elegant compared to the worst possible solution which is a two-step solution for the HP-50G.

Step 1: reset the calculator!
Step 2: RCWS

:-)

Here's a fugly solution on the 50g that doesn't require a reset, included here just for laughs:

1. RCLF
2. BYTES
3. SWAP
4. BYTES
5. NIP
6. +

Big Grin


RE: Challenge: Generate a 64 in the display (RPN) - Namir - 09-03-2020 11:08 PM

(09-03-2020 03:19 PM)Valentin Albillo Wrote:        01 "@"
      02 ATOX

Good one!

Namir


RE: Challenge: Generate a 64 in the display (RPN) - rprosperi - 09-04-2020 12:15 AM

(09-03-2020 11:00 PM)Namir Wrote:  Anyone care to share their two-step solution?

Mine is:

EEX 64
LOG

Namir

This breaks 2 rules - you can't use digits or EEX

Otherwise, nice and short Wink


RE: Challenge: Generate a 64 in the display (RPN) - Gene - 09-04-2020 01:05 AM

(09-03-2020 11:00 PM)Namir Wrote:  Anyone care to share their two-step solution?

Mine is:
EEX 64
LOG
Namir

Gene: Have to call foul on this one. Sorry. Original instructions said:

"You may not use any of the digit keys 0 - 9, the EEX key or the decimal point."

:-)


RE: Challenge: Generate a 64 in the display (RPN) - Didier Lachieze - 09-04-2020 01:31 AM

Instead of a short solution targeted to a specific model, here is a simple 10 steps solution that should work on almost any HP RPN calculator starting with the HP-35. It requires only the e^x function which is more widespread than LastX (missing on the HP-35, 70, 80, 21, 22, 37E), or x^2 (missing on the HP-35, 70, 80, 21, 22, 31E, 37E, 38E), :

Code:
CLX
e^x
ENTER
+
ENTER
+
ENTER 
ENTER 
*
*

As far as I know there are only two HP handheld RPN calculators without e^x: the HP-70 and HP-80.
For the HP-70 I don't have a solution, but for the HP-80 you can replace the first two steps above with:
Code:
CLEAR
Sigma+



RE: Challenge: Generate a 64 in the display (RPN) - Craig Bladow - 09-04-2020 01:38 AM

On HP-41CX, 4 steps.
Code:

PI
ST+ X
SF IND X
X<>F



RE: Challenge: Generate a 64 in the display (RPN) - Gerson W. Barbosa - 09-04-2020 03:10 AM

hp 33s:


IP


Not quite a classic RPN machine, I fear.


RE: Challenge: Generate a 64 in the display (RPN) - Gerson W. Barbosa - 09-04-2020 03:15 AM

(09-03-2020 10:31 PM)pinkman Wrote:  
(09-03-2020 05:22 PM)Massimo C. Wrote:  HP 35s: 4 steps

<-
-> °F
ENTER
+

Not really a « Classic » calc, but I love this solution!

This works on the HP-32S II as well.


RE: Challenge: Generate a 64 in the display (RPN) - Didier Lachieze - 09-04-2020 05:49 AM

Yes, this one is cool ! And it works also on the HP-55, 31E, 32E