Have You Tried Using Polish or Reverse Polish Notation in Your Calculations?

  • Thread starter Thread starter Nidum
  • Start date Start date
  • Tags Tags
    Notation
Click For Summary
SUMMARY

This discussion centers on the use of Polish Notation (PN) and Reverse Polish Notation (RPN) in computational formulae, emphasizing their ability to eliminate ambiguity in calculations. Users shared personal experiences with RPN calculators, particularly the HP 11C and HP 12C, highlighting their continued relevance in scientific and financial calculations. The command-line utility "dc" on Linux is noted as an unlimited precision RPN calculator, while nostalgic references to SwissMicros and historical HP models enrich the conversation. Overall, RPN is recognized as a valuable tool for serious number crunchers.

PREREQUISITES
  • Understanding of Polish Notation and Reverse Polish Notation
  • Familiarity with HP programmable calculators, specifically HP 11C and HP 12C
  • Basic knowledge of command-line utilities, particularly "dc" on Linux
  • Awareness of historical context regarding calculators and computational tools
NEXT STEPS
  • Explore the functionality of the "dc" command-line utility for RPN calculations
  • Research the features and specifications of the HP 11C and HP 12C calculators
  • Investigate modern RPN calculator applications available for smartphones
  • Learn about the implications of RPN in computational theory, particularly in relation to pushdown automatons
USEFUL FOR

This discussion is beneficial for mathematicians, engineers, computer scientists, and anyone interested in computational methods and the historical significance of RPN calculators in scientific calculations.

Nidum
Science Advisor
Messages
2,992
Reaction score
852
This thread follows on from : https://www.physicsforums.com/threa...ot-worthy-of-maths-forum.880724/#post-5534559 .

Anybody ever used Polish notation or reverse Polish notation for computational formulae ? Use of either is supposed to eliminate ambiguity and make the flow of computations logical .

I only ask out of curiosity . The very expensive HP programmable calculator we had at Mtu during the late 1970's had reverse Polish notation input . That is the only real world use I have ever come across .
 
  • Like
Likes Pepper Mint
Mathematics news on Phys.org
I still have the HP 11C I bought in college in 1982. It still works great, and you got to love RPN.
 
  • Like
Likes Nidum
RPN is a tool of trade of the serious number crunching scientist. I'm sure there would be plenty of apps featuring a RPN calculator for whatever tablet you own. The RPN calculator keypad doesn't need an equals sign nor parentheses, i.e., "(" and ")".

To evaluate 6 × (7 - 2 ÷ 3) + 5 you would typically enter the keystrokes in this order:
6 7 2 3 ÷ - × 5 +

Maybe you can see why this is also known as post-fix notation?

If you have access to linux, you'll find that the utility known as "dc" is a commandline RPN calculator. (It is also of unlimited precision, meaning you can set it to give you an answer to thousands of sig figs.)
 
  • Like
Likes Nidum
You can still find the HP35s, and another model, I don't remember the name now, for financial calculations.
Besides, and for nostalgics, you have the 'SwissMicros': https://www.swissmicros.com/
To my knowledge, there are no other brands of RPN calculators. Well, perhaps in Russia... In Soviet times, there used to be a few models...
 
NTW said:
You can still find the HP35s, and another model, I don't remember the name now, for financial calculations.
Besides, and for nostalgics, you have the 'SwissMicros': https://www.swissmicros.com/
To my knowledge, there are no other brands of RPN calculators. Well, perhaps in Russia... In Soviet times, there used to be a few models...
I think TI calculators used it, too, as far as I remember. And it's useful to know, when it comes to pushdown automatons.
 
I still own an HP 49-G that uses RPN. I never use it anymore, though, since I have Mathematica on my laptop
 
fresh_42 said:
I think TI calculators used it, too, as far as I remember. And it's useful to know, when it comes to pushdown automatons.

Before I bought my first HP11C in 1982, I used TI calculators. They were not RPN. Maybe they changed over the years.
 
NTW said:
You can still find the HP35s, and another model, I don't remember the name now, for financial calculations.
Besides, and for nostalgics, you have the 'SwissMicros': https://www.swissmicros.com/
To my knowledge, there are no other brands of RPN calculators. Well, perhaps in Russia... In Soviet times, there used to be a few models...

That would be the HP 12C, I had one of those too when I was in the MBA program.
 
  • #13
Begin off-topic

Casio and Sharp had basic-programmable calculators.

End off-topic
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
11K
  • · Replies 2 ·
Replies
2
Views
8K
Replies
6
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K