
10
For example, in (inch) is defined as .0254 n, and Fdy (Faraday) is
defined as 96487 H*s. (See appendix E for a complete listing of the
built-in units and their SI values.)
A umt object has two parts: a number (a real number) and a umt
expression (a single unit or multiplicative combination of units). The
two parts are linked by the underscore character For example,
2._in (2 inches) and 8= 302L.9.Eil.--''h (8.303 US gallons per hour) are
unit objects. Like other object types, a unit object can be placed on
the stack, stored in a variable, and used in algebraic expressions and
programs.
When you perform a unit conversion, the HP 48 replaces the old unit
expression with a new unit expression you specify, and automatically
multiplies the number by the appropriate conversion factor.
Operators in unit objects follow this precedence order:
! (highest precedence)1.
2. ■ ■ ■ ■ ■
3. * and .■ ■ ■ ■
For example, is 7 meters per second squared, and
is 7 square meters per second squared.
The UNITS Catalog Menu
The UNITS Catalog menu (ff^fUNITS)) displays a three-page menu
of “subject” keys, each of which, when pressed, displays a submenu
of related units. For example, fr^ f UNITS IfNXT) - - displays a
two-page menu of units for pressure.
The individual keys in each submenu behave differently than standard
menu keys, as described throughout this chapter. In Immediate-entry
mode, you can use the shift keys with the menu keys as follows:
■ An unshifted menu key creates a unit object by combining the real
number on level 1 with the unit expression that corresponds to
that key. (In Algebraic- or Program-entry, the unshifted keys act
as typing aids, echoing the corresponding name into the command
line.)
10-2 Unit Objects
Comentários a estes Manuais