Program constants, Physical constants – HP 40gs User Manual

Page 179

Advertising
background image

Using mathematical functions

13-25

Program constants

The program constants are numbers that have been
assigned to various calculator settings to enable you to
test for or specify such a setting in a program. For
example, the various display formats are assigned the
following numbers:

1 Standard

2 Fixed

3 Scientific

4 Engineering

5 Fraction

6 Mixed fraction

In a program, you could store the constant number of a
particular format into a variable and then subsequently
test for that particular format.

To access the menu of program constants:

1. Press .

2. Press .

3. Use the arrow keys to navigate through the options.

4. Click

and then

to display the number

assigned to the option you selected in the previous
step.

The use of program constants is illustrated in more detail
in “Programming” on page 21-1

Physical constants

There are 29 physical constants—from the fields of
chemistry, physics and quantum mechanics—that you
can use in calculations. A list of all these constants can be
found in “Physical Constants” on page R-16.

To access the menu of physical constants:

1. Press .

2. Press .

hp40g+.book Page 25 Friday, December 9, 2005 1:03 AM

Advertising
This manual is related to the following products: