Using the stack for calculations, Using the stack for calculations -1 – HP 48g Graphing Calculator User Manual
Page 37
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
3
Siadi_____________________________________________
The stack is a series of storage locations for numbers and other
objects. In general, you will use the HP 48 by entering numbers and
other objects onto the stack, then executing commands that operate
on the data.
Using the Stack for Calculations
You ordinarily do calculations by entering objects onto the stack
and then executing the appropriate functions and commands. The
fundamental concepts of stack operations are these;
■ A command that requires arguments (objects the command acts
upon) takes its arguments from the stack. Therefore, the arguments
must be present before you execute the command.
■ The arguments for a command are removed from the stack when the
command is executed,
■ Results are returned to the stack so that you can see them and use
them in other operations.
Making Calculations
When you execute a command, any arguments in the command
line are automatically put onto the stack before the command is
executed. This means you don’t always have to press
f E N T E R
) to put
the arguments on the stack—you can leave one or more arguments in
the command line when you execute the command. (You should still
think of the arguments as being on the stack, though.)
Stack 3-1