To copy the value of Vm to the stack, select the variable name, and press

!

, then, press

. For the calculator set to the ALG, the screen will look

 

²STK

@QUIT@

 

like this:

 

 

The display shows what is called a tagged value,

. In here,

thought the keystroke sequence‚¹2*„î(associatedVm:359with`the.0394key). The function must be entered in the following format:

Vm, is the tag of this result. Any arithmetic operation with this number will ignore the tag. Try, for example:

which produces:

The same operation in RPN mode will require the following keystrokes (after the value of Vm was extracted from the constants library):

2`*‚¹

Defining and using functions

Users can define their own functions by using the DEFINE command available

Function_name(arguments) = expression containing_arguments For example, we could define a simple function

Suppose that you have a need to„àevaluate this function for a number2of discrete values and, therefore, you want to be able to press a single button

H(x) = ln(x+1) + exp(-x)

Page 3-16

Page 69
Image 69
HP 49g manual Defining and using functions, Like this Display shows what is called a tagged value Here, Which produces