RPL Programming 1-51
Program: Comments:
"!ED:!:M<=5!1!
Displays the custom menu
stored in LST.
`OWGT ‰
Stores the program in WGT.
Use WGT to calculate the mass of an object of weight 12.5 N. The program sets up the menu, then completes
execution.
J%WGT%
Select the SI unit system, which starts the program in the menu list.
%SI%
Key in the weight, then resume the program.
12.5 !æ
Example: The following program, EIZ, constructs a custom menu to emulate the HP Solve application for a
capacitive electrical circuit. The program uses the equation E = IZ, where E is the voltage, I is the current, and Z
is the impedance.
Because the voltage, current, and impedance are complex numbers, you can't use the HP Solve application to
find solutions. The custom menu in EIZ assigns a direct solution to the left-shifted menu key for each variable,
and assigns store and recall functions to the unshifted and right-shifted keys — the actions are analogous to the
HP Solve application. The custom menu is automatically stored in CST, replacing the previous custom menu —
you can press !£ to restore the menu.
Program: Comments:
"!
4<>!03Q!D7!03c!D7!
H!76T!
Sets Degrees mode. Sets flags
–15 and –16 to display complex numbers in
polar form. Sets the display mode to 2 Fix.
f!
f!I<I!f!"!+<+!D:L!1!
"!6!J!.!452!+<+!D:L!
I<l!I!DYB2!'!OEEO4!
3!46D2!V!7K<<J<!1!
"!<!1!h!h!
Starts the custom menu list.
Builds menu key 1 for E.
Unshifted action: stores the object in E. Left-shift
action: calculates I × Z, stores it in E, and
displays it with a label. Right-shift action: recalls
the object in E.
f!I6I!f!"!+6+!D:L1!
"!<!J!,!452!+6+!D:L!
I6lIDYB2!'!OEEO4!
3!46D2!V!7K<<J<!1!
"!6!1!h!h!
Builds menu key 2.