Any HP calculator fans?
|
Joined: Aug 2009
Likes: 15
|
OP
Joined: Aug 2009
Likes: 15 |
I found nonpareil for OS X (simulator of hp-11c, hp-12c, hp-15c, hp-16c, hp-35, hp-45, hp-55, hp-80, hp-21, hp-25c, hp-32e, hp-33c, hp-34c, hp-37e, hp-38c & hp-38e calculators).
The new Great Equalizer is the SEND button.
In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
|
|
Re: Any HP calculator fans?
|
Joined: Aug 2009
Likes: 4
|
Joined: Aug 2009
Likes: 4 |
Loved the calculators. Hated reverse Polish notation. (We're talking about life in the '70s. Don't know what HP's been up to since.)
|
|
Re: Any HP calculator fans?
|
Joined: Aug 2009
Likes: 8
|
Joined: Aug 2009
Likes: 8 |
I agree with you on RPN.
In some of the classes I taught, students were required to have a calculator with statistical capabilities. I would always advise them to avoid HP/RPN. Over the years students did show up with HP calculators that were algebraic, non-RPN, so the company may have moved into this more "standard" entry scheme.
On a Mac since 1984. Currently: 24" M1 iMac, M2 Pro Mac mini with 27" BenQ monitor, M2 Macbook Air, MacOS 14.x; iPhones, iPods (yes, still) and iPads.
|
|
Re: Any HP calculator fans?
|
|
Joined: Aug 2009
|
Loved the calculators. Hated reverse Polish notation. (We're talking about life in the '70s. Don't know what HP's been up to since.) Well there are times where you either have RPN or a crapton of parentheses. And when parens get buried 4+ levels deep it starts getting really tricky seeing what the actual order of operations is going to be.
I work for the Department of Redundancy Department
|
|
Re: Any HP calculator fans?
|
Joined: Aug 2009
Likes: 14
|
Joined: Aug 2009
Likes: 14 |
Loved the calculators. Hated reverse Polish notation. Well there are times where you either have RPN or a crapton of parentheses. Okay, oaky...I'll be the one to put up his hand and ask "What is Reverse Polish Notation?" I'm assuming it isn't asableik egasuas.
ryck
"What Were Once Vices Are Now Habits" The Doobie Brothers
iMac (Retina 5K, 27", 2020), 3.8 GHz 8 Core Intel Core i7, 8GB RAM, 2667 MHz DDR4 OS Ventura 13.6.3 Canon Pixma TR 8520 Printer Epson Perfection V500 Photo Scanner c/w VueScan software TM on 1TB LaCie USB-C
|
|
Re: Any HP calculator fans?
|
Joined: Aug 2009
Likes: 4
|
Joined: Aug 2009
Likes: 4 |
Okay, [okay] ... I'll be the one to put up his hand and ask "What is Reverse Polish Notation?" As Pan Wiki says: "Reverse Polish notation (RPN), also known as Polish postfix notation or simply postfix notation, is a mathematical notation in which operators follow their operands, in contrast to Polish notation (PN), in which operators precede their operands." https://en.wikipedia.org/wiki/Reverse_Polish_notationMmmmm ... kielbasa
|
|
Re: Any HP calculator fans?
|
Joined: Aug 2009
Likes: 15
|
OP
Joined: Aug 2009
Likes: 15 |
...when parens get buried 4+ levels deep it starts getting really tricky seeing what the actual order of operations is going to be. Yep! Although at first glance, I can see where RPN takes an awful lot of getting used to...reading it more-so than writing it.
Last edited by artie505; 09/01/17 10:30 PM. Reason: More
The new Great Equalizer is the SEND button.
In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
|
|
Re: Any HP calculator fans?
|
Joined: Aug 2009
Likes: 8
|
Joined: Aug 2009
Likes: 8 |
Okay, [okay] ... I'll be the one to put up his hand and ask "What is Reverse Polish Notation?" As Pan Wiki says: "Reverse Polish notation (RPN), also known as Polish postfix notation or simply postfix notation, is a mathematical notation in which operators follow their operands, in contrast to Polish notation (PN), in which operators precede their operands." https://en.wikipedia.org/wiki/Reverse_Polish_notationMmmmm ... kielbasa That is to say, with RPN you evaluate expressions using correct mathematical order of operations AND enter the expressions into the calculator in that order. With "regular" calculators, you still evaluate mathematically, but enter the expressions as you would write them on a piece of paper. For example: 2 x (3+4). This is 14. "Regular" entry is 2, x, (,3,+,4,) [no commas, just used here to typographically separate the keystrokes]. In RPN, you would enter [let's see if I remember correctly] (,3,+,4,),x,2. Whew.
On a Mac since 1984. Currently: 24" M1 iMac, M2 Pro Mac mini with 27" BenQ monitor, M2 Macbook Air, MacOS 14.x; iPhones, iPods (yes, still) and iPads.
|
|
Re: Any HP calculator fans?
|
Joined: Aug 2009
Likes: 16
Moderator
|
Moderator
Joined: Aug 2009
Likes: 16 |
For example: 2 x (3+4). This is 14. "Regular" entry is 2, x, (,3,+,4,) [no commas, just used here to typographically separate the keystrokes]. In RPN, you would enter [let's see if I remember correctly] (,3,+,4,),x,2. My recollection using RPN on an HP calculator the actual keystrokes would be 3 enter 4 + 2 x
If we knew what it was we were doing, it wouldn't be called research, would it?
— Albert Einstein
|
|
Re: Any HP calculator fans?
|
Joined: Aug 2009
Likes: 15
|
OP
Joined: Aug 2009
Likes: 15 |
Following grelber's linked Wikipedia article, 2 x (3+4) would be written in RPN as either 3 4 + 2 x or 2 3 4 + x .
More: I'm not sure at which points you'd hit enter.
Last edited by artie505; 09/03/17 04:58 AM.
The new Great Equalizer is the SEND button.
In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire
|
|
Re: Any HP calculator fans?
|
Joined: Aug 2009
Likes: 8
|
Joined: Aug 2009
Likes: 8 |
Yeah, the operation does come after the digit. Don't recall where "enter" occurs. I'm glad we are all so up on RPN!
On a Mac since 1984. Currently: 24" M1 iMac, M2 Pro Mac mini with 27" BenQ monitor, M2 Macbook Air, MacOS 14.x; iPhones, iPods (yes, still) and iPads.
|
|
Re: Any HP calculator fans?
|
|
Joined: Aug 2009
|
seeing as the operators are entered last, technically you shouldn't need to tell it to calculate the line because it already knows its time. Each time you hit an operator, it knows the operand(s) have already been provided and it can perform the operation immediately. Hitting "=" or "enter" should be implied. Unless you have a calculator that lets you edit before calculating anyway. 3,4+2* (3,4+ immediately evaluates to 7, and then 2* immediately evaluates to 14) 2,3,4+* (2,3,4+ causes 3,4+ to immediately evaluate to 7 and leaves 2,7 in the stack, then when you hit * it evaluates to 14)
This is processing a stack btw. A stack is like a stack of dinner dishes, you can only add a plate on the top ("push") or take a plate off the top ("pop") a stack. When you enter a number, it's pushed onto the stack. When you enter an operator, it pops however many operands the operator needs (usually 2, sometimes 1 or 3) and evaluates them, and pushes the result back onto the stack. Operators like !, sin, and Log would only pop one operand and push the result into its place.
Stacks and Queues are both interesting structures in programming. Circular queues can really get weird but can be very useful. None of them behave well when they overflow.
I work for the Department of Redundancy Department
|
|
Re: Any HP calculator fans?
|
Joined: Aug 2009
Likes: 16
Moderator
|
Moderator
Joined: Aug 2009
Likes: 16 |
My recollection using RPN on an HP calculator the actual keystrokes would be 3 enter 4 + 2 x Explanation: - The reason for pressing "enter" between the 3 and the 4 is to tell the computer that 3 is one entry on the stack and 4 another.
- The + operator following the 4 serves the same purpose as well as signaling an add operation.
- Since an operation has been performed the 2 is the taken as a new data entry on the stack and like the 4 is terminated by the x operator (x).
2 enter 3 enter 4 + x would also work, but it takes an additional keystroke and to me is less intuitive than the first version.
If we knew what it was we were doing, it wouldn't be called research, would it?
— Albert Einstein
|
|
|
|