Hp 49g+ User Manual Page 685

  • Download
  • Add to my manuals
  • Print
  • Page
    / 862
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 684
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
Page view 684
1 2 ... 680 681 682 683 684 685 686 687 688 689 690 ... 861 862

Comments to this Manuals

No comments