To swap the objects in levels 1 and 2, To duplicate the object in ievei 1, Objects in levels 1 and 2 – HP 48g Graphing Calculator User Manual

Page 40: Manipulating the stack

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

Advertising
background image

3

Manipulating the Stack

The HP 48 enables you to reorder, duplicate, and delete specific

objects on the stack.

To swap

the

objects in levels 1 and 2:

■ Press f4^(SWAP I (or (Q when no command line is present).

The SWAP command is useful with commands where the order is

important, such as —, /, and

Example:

Use f^fSWAP) to help calculate

Step 1:

First, calculate ^134^8,

13

( E N T E R )

8

1:

4.58£5?5694%|

Step 2:

Enter 9 and swap levels 1 and 2.

9 fi^iSWAP)

1:

4.58257569496

Step 3:

Divide the two values.

0

1:

1.96396101212

To duplicate the object in

ievei 1:

■ Press

f ^ f S T A C K ) ( N X T l

is present).

UF' (or press

(

e n t e r

) if no command line

The DUP command duplicates the contents of level 1 and bumps the

rest of the stack up one level.

Example:

Calculate + (pfg-)"*-

Step 1:

First, calculate the inverse of 47.5 and duplicate the value.

47.5 {ijx\

( E N T E R )

2:

2.105263157896-2

1:

2.10526315789E-2

3-4 Stack

Advertising
This manual is related to the following products: