beautypg.com

Multi-command calculations, Command line calculations -24, 0(5f) – HP 49g Graphing Calculator User Manual

Page 229: Example, 17 x 19)

Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".

background image

Method 2

In method 1 above, each argument is entered onto its own level of the

stack before the command is executed. Another way is to enter all the
elements onto the command line separatmg each with a space. You can

then either:

® press (ENTER) to place the arguments onto the stack and then execute

your command or

® execute your command with the arguments still on the command line.

Example: To

calculate -V531441

1. Enter 531441 (fc) 3

2. Press (EM).

3. Press

0(5f).

l:

531441 3

Step 2 can be omitted if you will not want to undo the command and see

the arguments. Pressing (R(DNDQ) without having first placed the arguments

on the stack deletes all record of the command: the result and the
arguments. On the other hand, if you place the arguments on the stack

before executing the command, pressing 0(D

nd

O) deletes the result but re­

displays the arguments.

Multi-command calculations

Because the result of a calculation is retained on the stack, you can easily
perform complex calculations by accumulating the results of sub­

calculations on the stack and then treating these results as the arguments

in a further calculation.

Example:

To calculate

13^ -

(

17 x 19) + ^

1. Enter 130(2).

The result—169—appears on level 1 of the stack.

2. Enter 17 and press

3. Enter 19 and press (EN

4. Press®.

The product of 17 and 19—323—appears on level 1, and the previous
result—169—is at level 2.

Working in RPN mode

Page E-5