Creating user-defined units, To create a user-defined unit, Additional commands for unit objects – HP 48g Graphing Calculator User Manual
Page 132: Creating user-defined units -14, Additional commands for unit objects -14, Creating a user-defined function -7
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
Creating User-Defined Units
If you use a unit that’s not contained in the UNITS Catalog menu,
you can create a user-defined unit that behaves just like a built-in
unit. (The Equation Library contains four user-defined units—see
page 25-15.)
To create a user-defined unit;
1. Enter a unit object using built-in or previously defined units that
equals value of 1 new unit.
2. Store the unit object in a variable—the variable name is used as
10 the name of the new unit.
3. Optional; Add a unit object having the user-defined unit to the
CST menu—see below. The number part is ignored. (Custom
menus are described on page 30-1.)
You can’t use the unit key in the VAR, menu like unit keys in the
UNITS menus—because VAR menu keys store and recall objects.
However, if you add the user-defined unit to the CST menu, you can
use the CST menu key to enter and convert your user-defined units—
just like UNITS menu keys.
Example:
Use the built-in unit
d
(day) to create the user-defined unit
W E E K .
To do this, store the unit object
? _ d
in variable WEEK. Enter
a list containing an object with the new units: C 1_WIEE10. Store the
list in the custom menu and display the menu—press fi^f MODES)
M E N U M E N U .
Additional Commands for Unit Objects
Key
Programmable
Command
Description
(i^(UNITS):
U V fi L
e- U N
I
T
UVAL
^UNIT
Returns the number part of the level 1
unit object to level 1.
Combines a number from level 2 with a
unit object from level 1, ignoring the
number part of the level 1 object, to
form a unit object in level 1.
10-14 Unit Objects