4 ms·
Wow, this is bringing up some memories of my childhood. One of my childhood friends had a father who was a licensed surveyor and civil engineer. He showed me
by siberianbear 9y ago
Wow, this is bringing up some memories of my childhood.
One of my childhood friends had a father who was a licensed surveyor and civil engineer. He showed me how to write programs one one of these calculators. I was fascinated with it, and started writing simple programs to do obscure calculations. After I showed him what I had figured out, he showed me how to remove the faceplate and access a special test mode by pushing some hidden buttons near the . key at the bottom.
In retrospect, I can't figure out how some civil engineer in a rural area knew how to access and use these test functions. Probably, he had a friend from the university who worked at HP or something.
I remember that these calculators use something called RPN (Reverse Polish Notation). To do "3+4" you enter 3 <enter> 4 <enter> + <enter>. I had a university professor ask once, what's the opposite of RPN: when you enter "+ 3 4"? One other student answered "Reverse Italian notation?" And everyone in the class laughed so hard...
- MegaDeKay 9y agoActually, to do "3+4" you enter 3 <enter> 4 + That's it. Note that this is one keystroke less than the regular calculators used by mere mortals, and that is why RPN rules. Source: my daily driver HP-15C that I've had since around 1985. Works perfectly and has only gone through two or three sets of batteries. I'd swear it was solar powered.
- ZenoArrow 9y agoIsn't that the same number of keystrokes? [3] [+] [4] [=] [3] [Enter] [4] [+] Both use four keystrokes.
- jaclaz 9y agoYes, bad example. See here: http://calculatorauthority.com/why-use-a-reverse-polish-notation-calculator-over-an-algebraic-calculator/ http://calculatorauthority.com/why-use-a-reverse-polish-nota... >For example, we want to compute “(13+3)÷(4×2)” using a calculator of algebraic notation (not a scientific one) then we have to do many steps to reach the answer. Firstly, we have to compute “(13+3)” and then we will save the answer to the memory of the calculator. Then we have to compute the calculation in the denominator i.e. “(4×2)” and we have to save this answer too to the memory of the calculator. In the end, we will bring both the answers and will perform the last operation of division. This procedure has taken a reasonable amount of time. This thing can be avoided by using RPN calculator. In RPN calculator, we have to insert just a single line expression as “13 Enter 3 + 4 Enter 2 × ÷” and the answer will be computed instantly. More generally the use of a stack (in the case of some calculators an actually visible stack) helps a lot with complex formulas.
- carussell 9y ago[1 3 Enter 3 + 4 Enter 2 × ÷] is 10 button presses for RPN. [1 3 + 3 = ÷ 4 ÷ 2 =] is also 10 button presses, and how I would have entered it on an infix $10 TI-30XA during an exam. (At least, it's how I would have entered it if the figures weren't so small.) You could argue that it's cheating to "cook" the input beforehand so that the '4×2' divisor becomes two '4' and '2' divisors, but then you would have to ignore that RPN requires its own pre-cooked input (and that of the two, the RPN form is the one that relies on a more extensive cook).
- tremendo 9y agoLOL why bother with a calculator? 16 ÷ 8 easy! I always think of RPN as somewhat akin to using VIM (editor), once you learn it, it becomes unconscious, automatic. I for one don't see how the RPN form relies "on a more extensive cook".
- carussell 9y agoLooks like you skipped over this part of my comment in your attempt to be condescending: > At least, it's how I would have entered it if the figures weren't so small.
- tremendo 9y agoI have to apologize. What actually came to mind was that I know some probably couldn't make the mental leap to again divide by the other factor when they see the multiplication symbol there as written, then reaching for the calculator. I totally see now how it appears I was attempting to be condescending, sorry.
- jaclaz 9y agoYes, you replaced (correctly) a x with a /, and this does require some (little) effort. There is no "cooking" in the RPN input, the way you input is a little more similar to how you do manually operations, and in the order numbers are written from left to right, but of course beauty is only in the eye of the beholder. A (as well small) advantage is that on RPN you "see" that you are dividing 16 by 8, particularly - as hinted previously - when you have a RPN calculator that allows you to visualize the stack you can see better "partial" results. Now be nice, and do (13+3)/(3x(SQR(4+2))). [1 3 Enter 3 + 3 Enter 4 Enter 2 + SQR * /]
- tremendo 9y agoRight, where RPN really shines is in more complex operations where other calculators need parenthesis to group sub-operations, whereas you can just push stuff up the stack, and it in turn can be rolled, swapped… definitely a nerds' tool of choice