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

  • Context: Undergrad 
  • Thread starter Thread starter Nidum
  • Start date Start date
  • Tags Tags
    Notation
Click For Summary

Discussion Overview

This thread explores the use of Polish notation and reverse Polish notation (RPN) in computational formulae, discussing their implications for clarity and logical flow in calculations. Participants share personal experiences with various calculators that utilize these notations, as well as their historical context and relevance in modern computing.

Discussion Character

  • Exploratory
  • Technical explanation
  • Historical

Main Points Raised

  • Some participants express curiosity about the use of Polish and reverse Polish notation, noting that RPN is said to eliminate ambiguity in computations.
  • One participant mentions their long-term use of the HP 11C calculator and appreciates RPN for its efficiency.
  • Another participant describes RPN as a tool for serious number crunching, highlighting its absence of parentheses and equals signs in calculations.
  • There are mentions of various RPN calculators, including the HP35s and SwissMicros, with some participants recalling their experiences with these devices.
  • Some participants note that TI calculators may have used RPN in the past, but there is uncertainty about their current status regarding this notation.
  • One participant shares their experience with the HP 49-G and contrasts it with their use of Mathematica on a laptop.
  • There are repeated references to the HP 97 and HP 9845, with participants discussing their similarities and differences with other models.
  • A participant mentions basic-programmable calculators from Casio and Sharp, indicating a broader context for programmable devices.

Areas of Agreement / Disagreement

Participants share various personal experiences and opinions regarding the use of RPN and its calculators, but there is no consensus on the current prevalence or specific models that utilize RPN. The discussion remains open-ended with multiple viewpoints presented.

Contextual Notes

Some statements about the capabilities and historical context of calculators may depend on specific definitions and assumptions about RPN usage. There is also a lack of clarity regarding the current status of RPN in TI calculators.

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   Reactions: 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   Reactions: 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   Reactions: 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
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 100 ·
4
Replies
100
Views
7K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K