Page 10-15
entered in the display as you perform those keystrokes. First, we present the
steps necessary to produce program CRMC.
Lists represent columns of the matrix
The program
@CRMC
allows you to put together a p
×
n matrix (i.e., p rows, n
columns) out of n lists of p elements each. To create the program enter the
following keystrokes:
Keystroke sequence:
Produces:
‚ å
«
„°
@)STACK! @@DUP@
DUP
‚ é # ~ „n
n
‚ å
<<
1„°
@)STACK! @SWAP
1 SWAP
„°
@)BRCH! @)FOR@! @FOR@
FOR
~„j
j
„°
@)TYPE OBJ
OBJ
ARRY@
ARRY
„°
@)BRCH! @)@IF@@ @@IF@@
IF
~ „j#
j
~ „n
n
„°
@)TEST! @@@<@@@
<
„°
@)BRCH! @)@IF@ @THEN
THEN
~ „j #1+
j 1
+
„°
@)STACK!
L
@ROLL
ROLL
„°
@)BRCH! @)@IF@ @END
END
„°
@)BRCH! @)FOR@! @NEXT
NEXT
„°
@)BRCH! @)@IF@ @@IF@@
IF
~ „n #1
n 1
„°
@)TEST! @@@>@@@
>
„°
@)BRCH! @@IF@ @THEN
THEN
1#
1
~ „n #1-
n 1 -
„°
@)BRCH! @)FOR@! @FOR@
FOR
~ „j #
j
~ „j #1+
j 1 +
„°
@)STACK!
L
@ROLL!
ROLL
„°
@)BRCH! @)FOR@! @NEXT!
NEXT
„°
@)BRCH! )@@IF@! @END@
END
Содержание 50G
Страница 1: ...HP g graphing calculator user s guide H Edition 1 HP part number F2229AA 90006 ...
Страница 130: ...Page 2 70 The CMDS CoMmanDS menu activated within the Equation Writer i e O L CMDS ...
Страница 177: ...Page 4 10 Function DROITE is found in the command catalog N Using EVAL ANS 1 simplifies the result to ...
Страница 206: ...Page 5 29 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Страница 257: ...Page 7 20 ...
Страница 383: ...Page 11 56 Function KER Function MKISOM ...
Страница 715: ...Page 21 68 Whereas using RPL there is no problem when loading this program in algebraic mode ...
Страница 858: ...Page L 5 ...