Performing rpn calculations – HP 49g Graphing Calculator User Manual
Page 227
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

PerForming RPN calculations
You use the command line and the stack to perform EPN calculations.
® Wlren you use a command that takes only one argument, you can
execute the command with the argument on the command line or the
stack.
® When you use a command that requires multiple arguments—that is, a
command that needs more than one object to act on—you place the
argmuents on the stack before you apply the command. You specify
one argument per level, in the correct order. You can apply a multiple-
argument cormnand when the last argument is still on the command
line.
A command’s arguments are removed from the stack when the command
is executed, and replaced by the result of the operation.
For example, to find the cube of 52, you need to specify two arguments:
the number (52) and the index (3).
To perfonn the calculation, you enter:
That is, you enter 52 onto the stack, and 3 is on the command line before
you apply the operation. Since the © operation requires two arguments,
it uses the value on level 1 as the first argument, and the value on the
command line as the second argument.
Alternatively, you can place 52 on stack level 2, and 3 on stack level 1
before you apply the © operation. The operation uses the value on level 2
as the first argument, and the value on level 1 as the second argument.
Note that when you place all arguments on the stack before you apply a
command, you can undo the command (by pressing 0(O
nd
O)), and return
to the original stack.
For example, if you place both arguments on the stack before you apply
the © operation above, 0(O
ndo
) returns 52 on level 2 and 3 on level 1. If
you apply the command with the last argument on the command line—
that is, 5:
—the
operation returns only 52 on level 1.
Working in RPN mode
Page E-3