Functions defined by more than one expression – HP 48gII User Manual

Page 160

Advertising
background image

Page 3-35

• Input:

x

x

• Process:

‘LN(x+1) + EXP(x) ‘


This is to be interpreted as saying: enter a value that is temporarily assigned
to the name x (referred to as a local variable), evaluate the expression
between quotes that contain that local variable, and show the evaluated
expression.

To activate the function in ALG mode, type the name of the function followed
by the argument between parentheses, e.g.,

@@@H@@@ „Ü2`. Some

examples are shown below:

In the RPN mode, to activate the function enter the argument first, then press
the soft menu key corresponding to the variable name

@@@H@@@ . For example,

you could try: 2`

@@@H@@@ . The other examples shown above can be

entered by using: 1.2`

@@@H@@@ , 2/3`@@@H@@@ .


Functions can have more than 2 arguments. For example, the screen below
shows the definition of the function K(

α,β) = α+β, and its evaluation with the

arguments K(

√2,π), and K(1.2,2.3):

The contents of the variable K are: <<

α β ‘α+β’ >>.

Functions defined by more than one expression

In this section we discuss the treatment of functions that are defined by two or
more expressions. An example of such functions would be

>

<

=

0

,

1

0

,

1

2

)

(

2

x

x

x

x

x

f

Advertising
This manual is related to the following products: