Content deleted Content added
→BASIC notation: example |
fix all examples |
||
Line 4:
{{main|Reverse Polish Notation}}
{| class="wikitable" border="1"
|+ Examples
! Formular
! Key strokes
! Key stroke count
|-
| 7
|-
| <math>\sin 30 \times \cos 30</math>
| 7
|}
== infix logic ==
{| class="wikitable" border="1"
|+ Examples
! Formular
! Key strokes
! Key stroke count
|-
| <math>1 + 2 \times 3</math>
| 6
|-
| <math>\sin 30 \times \cos 30</math>
| <code>3</code> <code>0</code> <code>SIN</code> <code>×</code> <code>3</code> <code>0</code> <code>COS</code> <code>=</code>
| 8
|}
== algebraic logic ==
{| class="wikitable" border="1"
|+ Examples
! Formular
! Key strokes
! Key stroke count
|-
| <math>1 + 2 \times 3</math>
| <code>1</code> <code>+</code> <code>2</code> <code>×</code> <code>3</code> <code>=</code>
| 6
|-
| <math>\sin 30 \times \cos 30</math>
| <code>3</code> <code>0</code> <code>SIN</code> <code>×</code> <code>3</code> <code>0</code> <code>COS</code> <code>=</code>
| 8
|}
== [[BASIC]] notation ==
Line 40 ⟶ 85:
Other known entry modes are '''Algebraic logic (A.L.)''' which was used in earlier calculators and [[BASIC]] notation which was used BASIC programmable [[Pocket computer|Pocket computers]]. Both can be seen as ancestors to D.A.L.
{| class="wikitable" border="1"
▲Example: <math>\sin 30 \times \cos 30</math>
|+ Examples
! Formular
! Key strokes
! Key stroke count
|-
| <math>1 + 2 \times 3</math>
| <code><code>1</code> <code>+</code> <code>2</code> <code>×</code> <code>3</code> <code>ENTER</code>
| 6
|-
| <math>\sin 30 \times \cos 30</math>
| <code>SIN</code> <code>3</code> <code>0</code> <code>→</code> <code>×</code> <code>COS</code> <code>3</code> <code>0</code> <code>ENTER</code>
| 9
|}
Note
▲; with reverse polish notation: <code>3</code> <code>0</code> <code>SIN</code> <code>3</code> <code>0</code> <code>COS</code> <code>×</code>
display <tt>SIN(30)×COS(30)</tt> before pressing <code>ENTER</code>.
▲; with algebraic logic: <code>3</code> <code>0</code> <code>SIN</code> <code>×</code> <code>3</code> <code>0</code> <code>COS</code> <code>=</code>
▲; with direct algebraic logic : <code>SIN</code> <code>3</code> <code>0</code> <code>→</code> <code>×</code> <code>COS</code> <code>3</code> <code>0</code> <code>ENTER</code>
▲Note 1: the <code>→</code>: most DAL calculators will automatically insert needed <code>(</code> <code>)</code> and the <code>→</code> skips over the <code>)</code> from the sin operation. Machines equipped with an alphanumeric display will display <tt>SIN(30)×COS(30)</tt> before pressing <code>ENTER</code>.
== References ==
Line 60 ⟶ 108:
== External links ==
[[Category:Calculators]]
|