Powerreg, Prgm, Product (pi) – Texas Instruments TITANIUM TI-89 User Manual
Page 855: Product(), Prompt, Appendix a: functions and instructions 855
Appendix A: Functions and Instructions
855
PowerReg
MATH/Statistics/Regressions menu
PowerReg
list1
,
list2
[
, [
list3
] [,
list4
,
list5
]
]
Calculates the power regression and updates all
the system statistics variables.
All the lists must have equal dimensions except
for
list5
.
list1
represents xlist.
list2
represents ylist.
list3
represents frequency.
list4
represents category codes.
list5
represents category include list.
Note:
list1
through
list4
must be a variable name
or c1–c99 (columns in the last data variable
shown in the Data/Matrix Editor).
list5
does not
have to be a variable name and cannot be c1–
c99.
In function graphing mode:
{1,2,3,4,5,6,7}! L1
¸
{1 2 3
...
}
{1,2,3,4,3,4,6}! L2
¸
{1 2 3
...
}
PowerReg L1,L2
¸
Done
ShowStat
¸
¸
Regeq(x)"y1(x)
¸
Done
NewPlot 1,1,L1,L2
¸
Done
¥%
Prgm
CATALOG
Prgm
©©©©
EndPrgm
Required instruction that identifies the beginning
of a program. Last line of program must be
EndPrgm
.
Program segment:
:prgmname()
:Prgm
:
:EndPrgm
Product (PI)
See
Π
( ), page 908.
product()
MATH/List menu
product(
list
[
, start
[
, end
]])
⇒
⇒
⇒
⇒
expression
Returns the product of the elements contained in
list
.
Start
and
end
are optional. They specify a
range of elements.
product({1,2,3,4})
¸
24
product({2,x,y})
¸
2ø xø y
product({4,5,8,9},2,3) ¸ 40
product(
matrix1
[
, start
[
, end
]])
⇒
⇒
⇒
⇒
matrix
Returns a row vector containing the products of
the elements in the columns of
matrix1
.
Start
and
end
are optional. They specify a range of rows.
product([1,2,3;4,5,6;7,8,9])
¸
[28 80 162]
product([1,2,3;4,5,6;7,8,9],
1,2) ¸ [4,10,18]
Prompt
CATALOG
Prompt
var1
[,
var2
] [,
var3
] ...
Displays a prompt on the Program I/O screen for
each variable in the argument list, using the
prompt
var1?
. Stores the entered expression in
the corresponding variable.
Prompt
must have at least one argument.
Program segment:
©
Prompt A,B,C
©
EndPrgm