
Page 3-34
Suppose that you have a need to evaluate this function for a number of
discrete values and, therefore, you want to be able to press a single button
and get the result you want without having to type the expression in the right-
hand side for each separate value. In the following example, we assume you
have set your calculator to ALG mode. Enter the following sequence of
keystrokes:
„à³~h„Ü~„x™‚Å
‚¹~„x+1™+„¸~„x`
The screen will look like this:
Press the
J
key, and you will notice that there is a new variable in your soft
menu key (
@@@H@@
). To see the contents of this variable press
‚
@@@H@@
. The screen
will show now:
Thus, the variable H contains a program defined by:
<<
x ‘LN(x+1) + EXP(x)’ >>
This is a simple program in the default programming language of the HP 48
G series, and also incorporated in the HP 49 G series. This programming
language is called UserRPL. The program shown above is relatively simple
and consists of two parts, contained between the program containers
<< >>
:
•
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:
Содержание 49g+
Страница 1: ...hp 49g graphing calculator user s guide H Edition 4 HP part number F2228 90006 ...
Страница 197: ...Page 5 30 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Страница 377: ...Page 11 55 Function KER Function MKISOM ...
Страница 457: ...Page 13 26 In the right hand side figure above we are using the line editor to see the series expansion in detail ...
Страница 775: ...Page 26 10 the location of the backup battery in the top compartment at the back of the calculator ...
Страница 838: ...Page L 5 ...