HP Forums

Full Version: Mach number - RPN vs. Algebraic
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I read the HP Thread VA024 Posted by Valentin Albillo about

RPN vs. Algebraic stated that entering problem is easier with RPN

Link:
https://albillo.hpcalc.org/threads/HP%20...ebraic.pdf

I try this with the HP-12C Platinum ALG mode and found that it is easy and
not really hard or take lots of time to do it.

Here is the steps I did and need to use one store register.

350 [÷] 661.5 [=] [X^2] [x] .2 [=] [+] 1 [=] [Y^X] 3.5 [=] [-] 1 [=] [STO] 0

1 [-] [(]6.875 [EEX] [CHS] 6 [x] 25500[)] [=] [Y^X] 5.2656 [CSH] [=] x [RCL] 0 [=]

[+] 1 [=] [Y^X] .286 [=] [-] 1 [x] 5 [=] [√x]

gamo
It's probably fair to say this could very well be the first time someone tried the infamous Mach Equation in Algebraic, on an HP Financial machine.

While I believe your steps do confirm that RPN is indeed more efficient, bravo for taking the road less traveled. It's small things like this that makes most of us feel better about having slogged through those sample calculations in RPN when working through HP's classic manuals. Thanks for that.
.
Hi, Gamo:

(09-03-2020 11:29 AM)Gamo Wrote: [ -> ]I read the HP Thread VA024 Posted by Valentin Albillo about RPN vs. Algebraic stated that entering problem is easier with RPN. Link: https://albillo.hpcalc.org/threads/HP%20...ebraic.pdf

I try this with the HP-12C Platinum ALG mode and found that it is easy and not really hard or take lots of time to do it.


Thanks for you interest in my 2003 thread, there's a nice selection of similar vintage threads in PDF form at my HP site, as you surely know. I hope you'll find there many HP materials which might grab your interest and help you sharpen even more your HP and math skills.

And yes, your ALG mode sequence is very nice and, as Bob Prosperi says, probably the first time anyone has attempted to evaluate that expression in ALG using a financial HP calculator !

Regards.
V.
Thank You Valentin Albillo
Your ariticle is very interesting.

I just try this on HP 10bII+ and work exactly the same
steps used on the HP-12C Platinum.

Gamo
Been a long time and I did input this Mach Number Formula as program into

HP-12C Platinum and it take about 3 second to get answer.


Gamo 6/2023
Interesting that you used a storage register.
How many levels of parentheses does the 12CP handle?
I recall running the 'Daedalus problem' years ago on a TI-59.
I didn't use a storage register, but the RPN solution was still shorter.
Maybe the data register in your example is an artifact from optimizing the step count ?

-J
Mindblowing and impressive!

(09-03-2020 11:29 AM)Gamo Wrote: [ -> ]I read the HP Thread VA024 Posted by Valentin Albillo about

RPN vs. Algebraic stated that entering problem is easier with RPN

Link:
https://albillo.hpcalc.org/threads/HP%20...ebraic.pdf

I try this with the HP-12C Platinum ALG mode and found that it is easy and
not really hard or take lots of time to do it.

Here is the steps I did and need to use one store register.

350 [÷] 661.5 [=] [X^2] [x] .2 [=] [+] 1 [=] [Y^X] 3.5 [=] [-] 1 [=] [STO] 0

1 [-] [(]6.875 [EEX] [CHS] 6 [x] 25500[)] [=] [Y^X] 5.2656 [CSH] [=] x [RCL] 0 [=]

[+] 1 [=] [Y^X] .286 [=] [-] 1 [x] 5 [=] [√x]

gamo
The DM32's EQN feature handles it perfectly, and even displays the whole thing when SHOW is pressed! Smile

[Image: MachDM32.png]
Reference URL's