Calculator input methods: Difference between revisions

Content deleted Content added
Gesslein (talk | contribs)
m fixed spelling and typos and made proper English
Gesslein (talk | contribs)
m +wikilink and fixed typos
Line 9:
{{main|Reverse Polish Notation}}
 
In Reverse Polish Notation also known as '''Postfix notation''' all operations are entered after the operands[[operand]]s on which the operation is performed. Reverse Polish Notation is parenthesis-free which usually leads to less button presses needed to perform a operation. By the use of [[Stack_(data_structure)|stack]] one can enter formulas without the need to rearrange operands.
 
{| class="wikitable" border="1"
Line 26:
|}
 
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 rearrange operantsoperands. If one would do so then only 5 key strokes would be needed.
 
=== infix notation (without [[order of operations]]) ===
Line 49:
|}
 
From the first example one can see that it is necessary to rearrange operantsoperands in order to get the correct result.
 
=== infix notation (with [[order of operations]]) ===