# HP F2226A - 48GII Graphic Calculator User Manual Page 316

Graphing calculator.

„°
@) B RCH! @) F OR@! @NEXT
„°
@) B RCH! @) @ IF@ @@IF@@
~ „n #1
„°
@) T EST! @@@>@@@
„°
@) B RCH! @@IF@ @THEN
1#
~ „n #1-
„°
@) B RCH! @) F OR@! @FOR@
~ „j #
~ „j #1+
„°
L
@) S TACK!
@ROLL!
„°
@) B RCH! @) F OR@! @NEXT!
„°
@) B RCH! ) @ @IF@! @END@
~„n #
„´
@) M ATRX! @) C OL! @COL!
`
To save the program:
Note: if you save this program in your HOME directory it will be available
from any other sub-directory you use.
To see the contents of the program use J ‚@CRMC. The program listing is
the following:
« DUP
1 SWAP FOR j OBJ
n «
ROLL END NEXT IF n 1 > THEN 1 n 1 - FOR j j 1 + ROLL
NEXT END n COL
To use this program, in RPN mode, enter the n lists in the order that you want
them as columns of the matrix, enter the value of n, and press @CRMC.
example, try the following exercise:
{1,2,3,4} ` {1,4,9,16} ` {1,8,27,64} ` 3 ` @CRMC
The following screen shots show the RPN stack before and after running
program @CRMC:
NEXT
IF
n 1
>
THEN
1
n 1 -
FOR
j
j 1 +
ROLL
NEXT
END
n
COL
Program is displayed in level 1
³~~crmc~ K
ARRY IF j n < THEN j 1 +
→ →
" "
As an
Page 10-16