Content deleted Content added
fix all examples |
→Reverse Polish Notation: explain. |
||
Line 1:
A Button-operated calculator is a hardware or software calculator which is operated using button - as oposed to a [[Formula calculator]] which is operated thrue entering formulars thue a keyboard.
== Reverse Polish Notation (RPN) ==
{{main|Reverse Polish Notation}}
In Reverse Polish Notation also known as '''Postfix notation''' all operations are entered after the peratns on which the operatin is performed. Reverse Polish Notation is parenthesis-free which usualy leads to less button presses needed to perfom a operation. By the use of [[Stack_(data_structure)|stack]] one can enter formulae withouth the need of rearange operands.
{| class="wikitable" border="1"
Line 19 ⟶ 21:
| 7
|}
Note example 1 which is one of the few examples where Reverse Polish Notation does not use the fewest button presses - provided one does not rearange operants. If one would do so then ony 5 key strokes would be needed.
== infix logic ==
|