Content deleted Content added
m →infix notation (with order of operations): spelling |
Immediate execution |
||
Line 5:
There are various ways in which the in which a button-operated calculator might interpret key strokes.
=== Reverse Polish Notation (RPN) (Postfix notation) ===
{{main|Reverse Polish Notation}}
Line 28:
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 operands. If one would do so then only 5 key strokes would be needed.
=== Immediate execution ===
With this mode of operation each [[binary operation]] is executed as soon as the next operator is pressed, therefore the order of operations in a mathematical expression is not taken into account, except for models which have buttons for brackets which can take order in to account. Also for [[unitary operators]] like √ or x<sup>2</sup> the number is entered first then the operator.
{| class="wikitable" border="1"
Line 51 ⟶ 49:
From the first example one can see that it is necessary to rearrange operands in order to get the correct result.
===
{{main|
With this mode the mathematical order of operations is where honored.
{| class="wikitable" border="1"
Line 81 ⟶ 79:
Some BASIC programmable [[Pocket computer|Pocket computers]] had dedicated trigonometric keys <ref>The picture of the [http://pocket.free.fr/html/casio/fx-880p_e.html FX-880P] show sin, cos and tan keys on the second row right hand side.</ref> hence the keystroke count is given as a range. Some BASIC programmable [[Pocket computer|Pocket computers]] could also be operate in arithmetic logic.
{| class="wikitable" border="1"
Line 99 ⟶ 95:
|}
=== Mathematical display ===
=== '''Direct algebraic logic (D.A.L.)''' ===▼
Some calculators allow the entering of equations in a way which resembles how they would normally be written.
Casio calls this method '''Visually Perfect Algebraic Mode (V.P.A.M)'''.
{| class="wikitable" border="1"
Line 118 ⟶ 117:
|}
Note the <code>→</code> in the 2nd example: most
display <tt>SIN(30)×COS(30)</tt> before pressing <code>ENTER</code>.
|