RPN: The Automatic Memory Stack
2–13
File name 33s-E-Manual-1008-Publication(1st).doc Page : 386
Printed Date : 2003/10/8 Size : 13.7 x 21.2 cm
Solution:
17
Ï
12
Ã
4
¸
10
Ï
5
Ã
w
¯
or
10
Ï
5
Ã
17
Ï
12
Ã
4
¸
¯
Order of Calculation
We recommend solving chain calculations by working from the innermost
parentheses outward. However, you can also choose to work problems in a
left–to–right order.
For example, you have already calculated:
4
÷
[14 + (7
×
3) – 2]
by starting with the innermost parentheses (7
×
3) and working outward, just
as you would with pencil and paper. The keystrokes were 7
Ï
3
¸
14
Ù
2
Ã
4
w
¯
.
If you work the problem from left–to–right, press
4
Ï
14
Ï
7
Ï
3
¸
Ù
2
Ã
¯
.
This method takes one additional keystroke. Notice that the first intermediate result
is still the innermost parentheses (7
×
3). The advantage to working a problem
left–to–right is that you don't have to use
w
to reposition operands for
nomcommutaiive functions (
Ã
and
¯
).
However, the first method (starting with the innermost parentheses) is often
preferred because:
It takes fewer keystrokes.
It requires fewer registers in the stack.
Note
When using the left–to–right method, be sure that no more than
four intermediate numbers (or results) will be needed at one
time (the stack can hold no more than four numbers).