it is always possible to recall the program definition into the stack (‚@@@q@@@) to
see the order in which the variables must be entered, namely,
Cu n y0 S0.
However, for the case of the program @@hv@@, its definition
* SQ * 2 * SWAP SQ SWAP /
does not provide a clue of the order in which the data must be entered, unless,
of course, you are extremely experienced with RPN and the User RPL language.
One way to check the result of the program as a formula is to enter symbolic
variables, instead of numeric results, in the stack, and let the program operate
on those variables. For this approach to be effective the calculator's CAS
(Calculator Algebraic System) must be set to
is accomplished by using H@) C AS@, and ensuring that the check marks in the
Press @@OK@@ @@OK@ to return to
normal calculator display.
Press J to display your variables menu.
We will use this latter approach to check what formula results from using the
program @@hv@@ as follows: We know that there are four inputs to the program,
thus, we use the symbolic variables S4, S3, S2, and S1 to indicate the stack
levels at input:
Next, press @@hv@@. The resulting formula may look like this
if your display is not set to textbook style, or like this,
if textbook style is selected. Since we know that the function SQ( ) stands for x
we interpret the latter result as