
Page 21-40
You will notice that after typing the keystroke sequence
‚ë
a new line is
generated in the stack.
The last modification that needs to be included is to type in the plus sign three
times after the call to the function at the very end of the sub-program.
Note
: The plus sign (+) in this program is used to
concatenate
strings.
Concatenation
is simply the operation of joining individual character strings.
To see the program operating:
•
Store the program back into variable p by using
„
@@@p@@@
.
•
Run the program by pressing
@@@p@@@
.
•
Enter values of V = 0.01_m^3, T = 300_K, and n = 0.8_mol, when
prompted.
As in the earlier version of [ p ], before pressing [ENTER] for input, the stack
will look like this:
The first program output is a message box containing the string:
Press
@@@OK@@@
to cancel message box output.
Incorporating units within a program
As you have been able to observe from all the examples for the different
versions of program
@@@p@@@
presented in this chapter, attaching units to input
Содержание 48GII
Страница 1: ...hp 48gII graphing calculator user s guide H Edition 4 HP part number F2226 90020 ...
Страница 162: ...Page 3 37 Define this function by any of the means presented above and check that g 3 3 g 1 0 g 1 0 g 3 9 ...
Страница 201: ...Page 5 30 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Страница 381: ...Page 11 55 Function KER Function MKISOM ...
Страница 461: ...Page 13 26 In the right hand side figure above we are using the line editor to see the series expansion in detail ...
Страница 777: ...Page 26 8 ...
Страница 840: ...Page L 5 ...