TI-NspireCAS ReferenceGuide EN PDF
TI-NspireCAS ReferenceGuide EN PDF
Reference Guide
ii
Contents
Expression Templates 1
Alphabetical Listing 8
A 8
B 17
C 20
D 44
E 57
F 67
G 76
I 86
L 95
M 111
N 119
O 128
P 130
Q 139
R 142
S 157
T 182
U 197
V 198
W 199
X 201
Z 202
Symbols 210
TI-Nspire™ CX II - Draw Commands 236
Graphics Programming 236
Graphics Screen 236
Default View and Settings 237
Graphics Screen Errors Messages 238
Invalid Commands While in Graphics Mode 238
C 239
D 240
F 243
G 245
P 246
S 248
U 250
iii
Empty (Void) Elements 251
Shortcuts for Entering Math Expressions 253
EOS™ (Equation Operating System) Hierarchy 255
TI-Nspire CX II - TI-Basic Programming Features 257
Auto-indentation in Programming Editor 257
Improved Error Messages for TI-Basic 257
Index 272
iv
Expression Templates
Expression templates give you an easy way to enter math expressions in standard
mathematical notation. When you insert a template, it appears on the entry line with
small blocks at positions where you can enter elements. A cursor shows which element
you can enter.
Position the cursor on each element, and type a value or expression for the element.
Expression Templates 1
Nth root template /l keys
2 Expression Templates
Piecewise template (N-piece) Catalog >
Lets you create expressions and conditions Example:
for an N-piece piecewise function. Prompts
for N. See the example for Piecewise template (2-
piece).
Expression Templates 3
Absolute value template Catalog >
Creates a 2 x 2 matrix.
4 Expression Templates
Matrix template (m x n) Catalog >
Expression Templates 5
Second derivative template Catalog >
Example:
6 Expression Templates
Limit template Catalog >
Use − or ( −) for left hand limit. Use + for
right hand limit.
Note: See also limit() , page 6.
Expression Templates 7
Alphabetical Listing
Items whose names are not alphabetic (such as +, !, and >) are listed at the end of this
section, page 210. Unless otherwise specified, all examples in this section were
performed in the default reset mode, and all variables are assumed to be undefined.
abs(List1) ⇒ list
abs(Matrix1) ⇒ matrix
Returns the absolute value of the
argument.
Note: See also Absolute value template,
page 3.
If the argument is a complex number,
returns the number’s modulus.
Note: All undefined variables are treated as
real variables.
8 Alphabetical Listing
amortTbl() Catalog >
roundValue specifies the number of
decimal places for rounding. Default=2.
The columns in the result matrix are in this
order: Payment number, amount paid to
interest, amount paid to principal, and
balance.
The balance displayed in row n is the
balance after payment n.
You can use the output matrix as input for
the other amortization functions ΣInt() and
ΣPrn() , page 225, and bal() , page 17.
Alphabetical Listing 9
angle() Catalog >
angle(Expr1) ⇒ expression In Degree angle mode:
angle(List1) ⇒ list
angle(Matrix1) ⇒ matrix
Returns a list or matrix of angles of the
elements in List1 or Matrix1, interpreting
each element as a complex number that
represents a two-dimensional rectangular
coordinate point.
stat.PVal Smallest level of significance at which the null hypothesis can be rejected
10 Alphabetical Listing
Output variable Description
stat.dfError Degrees of freedom of the errors
stat.CLowerList 95% confidence intervals for the mean of each input list
stat.CUpperList 95% confidence intervals for the mean of each input list
Alphabetical Listing 11
Output variable Description
stat.MSBlock Mean squares for factor
INTERACTION Outputs
ERROR Outputs
12 Alphabetical Listing
Output variable Description
stat.dfError Degrees of freedom of the errors
Ans /v keys
Ans ⇒ value
Returns the result of the most recently
evaluated expression.
approx(List1) ⇒ list
approx(Matrix1) ⇒ matrix
Returns a list or matrix where each
element has been evaluated to a decimal
value, when possible.
Alphabetical Listing 13
►approxFraction() Catalog >
Note: You can insert this function from the
computer keyboard by typing
@>approxFraction(...).
14 Alphabetical Listing
arcLen() Catalog >
arcLen(Expr1,Var,Start ,End) ⇒
expression
Returns the arc length of Expr1 from
Start to End with respect to variable Var.
Arc length is calculated as an integral
assuming a function mode definition.
arcLen(List1,Var,Start ,End) ⇒ list
Returns a list of the arc lengths of each
element of List1 from Start to End with
respect to Var.
Alphabetical Listing 15
augment() Catalog >
Returns a new list that is List2 appended to
the end of List1.
augment(Matrix1, Matrix2) ⇒ matrix
Returns a new matrix that is Matrix2
appended to Matrix1. When the “,”
character is used, the matrices must have
equal row dimensions, and Matrix2 is
appended to Matrix1 as new columns.
Does not alter Matrix1 or Matrix2.
16 Alphabetical Listing
B
Alphabetical Listing 17
►Base2 Catalog >
Converts Integer1 to a binary number.
Binary or hexadecimal numbers always
have a 0b or 0h prefix, respectively. Use a
zero, not the letter O, followed by b or h.
0b binaryNumber
0h hexadecimalNumber
A binary number can have up to 64 digits. A
hexadecimal number can have up to 16.
Without a prefix, Integer1 is treated as
decimal (base 10). The result is displayed in
binary, regardless of the Base mode.
Negative numbers are displayed in “two's
complement” form. For example,
⁻1 is displayed as
0hFFFFFFFFFFFFFFFF in Hex base mode
0b111...111 (64 1’s) in Binary base mode
⁻263 is displayed as
0h8000000000000000 in Hex base mode
0b100...000 (63 zeros) in Binary base mode
If you enter a decimal integer that is
outside the range of a signed, 64-bit binary
form, a symmetric modulo operation is
used to bring the value into the appropriate
range. Consider the following examples of
values outside the range.
263 becomes ⁻263 and is displayed as
0h8000000000000000 in Hex base mode
0b100...000 (63 zeros) in Binary base mode
264 becomes 0 and is displayed as
0h0 in Hex base mode
0b0 in Binary base mode
⁻263 − 1 becomes 263 − 1 and is displayed
as
0h7FFFFFFFFFFFFFFF in Hex base mode
0b111...111 (64 1’s) in Binary base mode
18 Alphabetical Listing
►Base10 Catalog >
Note: You can insert this operator from the
computer keyboard by typing @>Base10.
Converts Integer1 to a decimal (base 10)
number. A binary or hexadecimal entry
must always have a 0b or 0h prefix,
respectively.
0b binaryNumber
0h hexadecimalNumber
Zero, not the letter O, followed by b or h.
A binary number can have up to 64 digits. A
hexadecimal number can have up to 16.
Without a prefix, Integer1 is treated as
decimal. The result is displayed in decimal,
regardless of the Base mode.
Alphabetical Listing 19
binomCdf() Catalog >
binomCdf(n,p) ⇒ list
binomCdf(n,p,lowBound,upBound) ⇒
number if lowBound and upBound are
numbers, list if lowBound and upBound are
lists
binomCdf(n,p,upBound)for P(0≤X≤upBound)
⇒ number if upBound is a number, list if
upBound is a list
Computes a cumulative probability for the
discrete binomial distribution with n number
of trials and probability p of success on each
trial.
For P(X ≤ upBound), set lowBound=0
Catalog >
ceiling(Expr1) ⇒ integer
Returns the nearest integer that is ≥ the
argument.
The argument can be a real or a complex
number.
Note: See also floor() .
ceiling(List1) ⇒ list
ceiling(Matrix1) ⇒ matrix
Returns a list or matrix of the ceiling of
each element.
20 Alphabetical Listing
centralDiff() Catalog >
centralDiff(Expr1,Var [=Value ][,Step]) ⇒
expression
centralDiff(Expr1,Var [,Step])|Var=Value
⇒ expression
centralDiff(Expr1,Var [=Value ][,List ]) ⇒
list
centralDiff(List1,Var [=Value ][,Step]) ⇒
list
centralDiff(Matrix1,Var [=Value ][,Step])
⇒ matrix
Returns the numerical derivative using the
central difference quotient formula.
When Value is specified, it overrides any
prior variable assignment or any current “|”
substitution for the variable.
Step is the step value. If Step is omitted, it
defaults to 0.001.
When using List1 or Matrix1, the operation
gets mapped across the values in the list or
across the matrix elements.
Note: See also avgRC() and d() .
Alphabetical Listing 21
cFactor() Catalog >
cFactor( Expr1,Var) returns Expr1 factored
with respect to variable Var.
Expr1 is factored as much as possible
toward factors that are linear in Var, with
perhaps non-real constants, even if it
introduces irrational constants or
subexpressions that are irrational in other
variables.
The factors and their terms are sorted with
Var as the main variable. Similar powers of
Var are collected in each factor. Include
Var if factorization is needed with respect
to only that variable and you are willing to
accept irrational expressions in any other
variables to increase factorization with
respect to Var. There might be some
incidental factoring with respect to other
variables.
For the Auto setting of the Auto or
Approximate mode, including Var also
permits approximation with floating-point
coefficients where irrational coefficients
cannot be explicitly expressed concisely in
terms of the built-in functions. Even when
there is only one variable, including Var
might yield more complete factorization. To see the entire result,
press 5 and then use 7 and 8 to move the
Note: See also factor() . cursor.
22 Alphabetical Listing
charPoly() Catalog >
charPoly(squareMatrix,Var) ⇒
polynomial expression
charPoly(squareMatrix,Expr) ⇒
polynomial expression
charPoly(squareMatrix1,Matrix2) ⇒
polynomial expression
Returns the characteristic polynomial of
squareMatrix . The characteristic
polynomial of n×n matrix A, denoted by p
( λ), is the polynomial defined by A
p (λ) = det(λ•I−A)
A
where I denotes the n×n identity matrix.
squareMatrix1 and squareMatrix2 must
have the equal dimensions.
stat.PVal Smallest level of significance at which the null hypothesis can be rejected
Alphabetical Listing 23
χ2Cdf() Catalog >
χ 2Cdf(lowBound,upBound,df )
⇒ number if
lowBound and upBound are numbers, list if
lowBound and upBound are lists
chi2Cdf(lowBound,upBound,df ) ⇒ number
if lowBound and upBound are numbers, list
if lowBound and upBound are lists
Computes the χ 2 distribution probability
between lowBound and upBound for the
specified degrees of freedom df .
For P( X ≤ upBound), set lowBound = 0.
For information on the effect of empty
elements in a list, see “Empty (Void)
Elements,” page 251.
stat.PVal Smallest level of significance at which the null hypothesis can be rejected
24 Alphabetical Listing
χ2Pdf() Catalog >
chi2Pdf(XVal ,df ) ⇒ number if XVal is a
number, list if XVal is a list
Computes the probability density function
(pdf) for the χ 2 distribution at a specified
XVal value for the specified degrees of
freedom df .
For information on the effect of empty
elements in a list, see “Empty (Void)
Elements,” page 251.
Alphabetical Listing 25
colAugment() Catalog >
colAugment(Matrix1, Matrix2) ⇒ matrix
Returns a new matrix that is Matrix2
appended to Matrix1. The matrices must
have equal column dimensions, and
Matrix2 is appended to Matrix1 as new
rows. Does not alter Matrix1 or Matrix2.
26 Alphabetical Listing
comDenom() Catalog >
comDenom( Expr1,Var) returns a reduced
ratio of numerator and denominator
expanded with respect to Var. The terms
and their factors are sorted with Var as the
main variable. Similar powers of Var are
collected. There might be some incidental
factoring of the collected coefficients.
Compared to omitting Var, this often saves
time, memory, and screen space, while
making the expression more
comprehensible. It also makes subsequent
operations on the result faster and less
likely to exhaust memory.
If Var does not occur in Expr1, comDenom
( Expr1,Var) returns a reduced ratio of an
unexpanded numerator over an unexpanded
denominator. Such results usually save even
more time, memory, and screen space.
Such partially factored results also make
subsequent operations on the result much
faster and much less likely to exhaust
memory.
Even when there is no denominator, the
comden function is often a fast way to
achieve partial factorization if factor() is
too slow or if it exhausts memory.
Hint: Enter this comden() function definition
and routinely try it as an alternative to
comDenom() and factor() .
Alphabetical Listing 27
completeSquare () Catalog >
- or -
Converts a quadratic equation of the form
a•x2+b•x+c=d into the form a•(x-h) 2=k
The first argument must be a quadratic
expression or equation in standard form
with respect to the second argument.
The Second argument must be a single
univariate term or a single univariate term
raised to a rational power, for example
x, y2, or z(1/3).
The third and fourth syntax attempt to
complete the square with respect to
variables Var1, Var2 [,… ]).
28 Alphabetical Listing
CopyVar Catalog >
CopyVar Var1, Var2
CopyVar Var1., Var2.
CopyVar Var1, Var2 copies the value of
variable Var1 to variable Var2, creating
Var2 if necessary. Variable Var1 must have
a value.
If Var1 is the name of an existing user-
defined function, copies the definition of
that function to function Var2. Function
Var1 must be defined.
Var1 must meet the variable-naming
requirements or must be an indirection
expression that simplifies to a variable
name meeting the requirements.
CopyVar Var1., Var2. copies all members
of the Var1. variable group to the Var2.
group, creating Var2. if necessary.
Var1. must be the name of an existing
variable group, such as the statistics stat .nn
results, or variables created using the
LibShortcut() function. If Var2. already
exists, this command replaces all members
that are common to both groups and adds
the members that do not already exist. If
one or more members of Var2. are locked,
all members of Var2. are left unchanged.
Alphabetical Listing 29
►cos Catalog >
►cos reduces all powers of
sin(...) modulo 1−cos(...)^2
so that any remaining powers of cos(...)
have exponents in the range (0, 2). Thus,
the result will be free of sin(...) if and only
if sin(...) occurs in the given expression only
to even powers.
Note: This conversion operator is not
supported in Degree or Gradian Angle
modes. Before using it, make sure that the
Angle mode is set to Radians and that Expr
does not contain explicit references to
degree or gradian angles.
cos() µ key
cos(Expr1) ⇒ expression In Degree angle mode:
cos(List1) ⇒ list
cos( Expr1) returns the cosine of the
argument as an expression.
cos( List1) returns a list of the cosines of all
elements in List1.
Note: The argument is interpreted as a
degree, gradian or radian angle, according In Gradian angle mode:
to the current angle mode setting. You can
use °, G, or r to override the angle mode
temporarily.
30 Alphabetical Listing
cos() µ key
When a scalar function f(A) operates on
squareMatrix1 (A), the result is calculated
by the algorithm:
Compute the eigenvalues ( λ ) and
i
eigenvectors (Vi) of A.
squareMatrix1 must be diagonalizable.
Also, it cannot have symbolic variables that
have not been assigned a value.
Form the matrices:
cos⁻¹() µ key
cos⁻¹(Expr1) ⇒ expression In Degree angle mode:
cos⁻¹(List1) ⇒ list
cos ⁻¹( Expr1) returns the angle whose
cosine is Expr1 as an expression. In Gradian angle mode:
cos ⁻¹( List1) returns a list of the inverse
cosines of each element of List1.
Note: The result is returned as a degree,
gradian or radian angle, according to the In Radian angle mode:
current angle mode setting.
Note: You can insert this function from the
keyboard by typing arccos(...).
Alphabetical Listing 31
cos⁻¹() µ key
cos⁻¹(squareMatrix1) ⇒ squareMatrix In Radian angle mode and Rectangular
Complex Format:
Returns the matrix inverse cosine of
squareMatrix1. This is not the same as
calculating the inverse cosine of each
element. For information about the
calculation method, refer to cos() .
squareMatrix1 must be diagonalizable. The
result always contains floating-point
numbers.
To see the entire result,
press 5 and then use 7 and 8 to move the
cursor.
cosh(List1) ⇒ list
cosh( Expr1) returns the hyperbolic cosine
of the argument as an expression.
cosh( List1) returns a list of the hyperbolic
cosines of each element of List1.
cosh(squareMatrix1) ⇒ squareMatrix In Radian angle mode:
cosh⁻¹(List1) ⇒ list
cosh⁻¹( Expr1) returns the inverse
hyperbolic cosine of the argument as an
expression.
32 Alphabetical Listing
cosh⁻¹() Catalog >
cosh⁻¹( List1) returns a list of the inverse
hyperbolic cosines of each element of
List1.
Note: You can insert this function from the
keyboard by typing arccosh(...).
cosh⁻¹(squareMatrix1) ⇒ squareMatrix In Radian angle mode and In Rectangular
Complex Format:
Returns the matrix inverse hyperbolic
cosine of squareMatrix1. This is not the
same as calculating the inverse hyperbolic
cosine of each element. For information
about the calculation method, refer to cos
() .
squareMatrix1 must be diagonalizable. The
result always contains floating-point To see the entire result,
numbers. press 5 and then use 7 and 8 to move the
cursor.
cot() µ key
cot(Expr1) ⇒ expression In Degree angle mode:
cot(List1) ⇒ list
Returns the cotangent of Expr1 or returns a
list of the cotangents of all elements in In Gradian angle mode:
List1.
Note: The argument is interpreted as a
degree, gradian or radian angle, according
to the current angle mode setting. You can In Radian angle mode:
use °, G, or r to override the angle mode
temporarily.
cot⁻¹() µ key
cot⁻¹(Expr1) ⇒ expression In Degree angle mode:
cot⁻¹(List1) ⇒ list
Returns the angle whose cotangent is
Expr1 or returns a list containing the In Gradian angle mode:
inverse cotangents of each element of
List1.
Alphabetical Listing 33
cot⁻¹() µ key
Note: The result is returned as a degree,
gradian or radian angle, according to the In Radian angle mode:
current angle mode setting.
Note: You can insert this function from the
keyboard by typing arccot(...).
coth(List1) ⇒ list
Returns the hyperbolic cotangent of Expr1
or returns a list of the hyperbolic
cotangents of all elements of List1.
coth⁻¹(List1) ⇒ list
Returns the inverse hyperbolic cotangent of
Expr1 or returns a list containing the
inverse hyperbolic cotangents of each
element of List1.
Note: You can insert this function from the
keyboard by typing arccoth(...).
34 Alphabetical Listing
count() Catalog >
Within the Lists & Spreadsheet application,
you can use a range of cells in place of any
argument.
Empty (void) elements are ignored. For
more information on empty elements, see
page 251.
Counts 3, 5, and 7.
Counts 1, 3, 7, and 9.
Alphabetical Listing 35
cPolyRoots() Catalog >
cPolyRoots(Poly ,Var) ⇒ list
cPolyRoots(ListOfCoeffs) ⇒ list
The first syntax, cPolyRoots( Poly ,Var) ,
returns a list of complex roots of
polynomial Poly with respect to variable
Var.
Poly must be a polynomial in one variable.
The second syntax, cPolyRoots
( ListOfCoeffs) , returns a list of complex
roots for the coefficients in ListOfCoeffs.
Note: See also polyRoots() , page 136.
csc() µ key
csc(Expr1) ⇒ expression In Degree angle mode:
csc(List1) ⇒ list
Returns the cosecant of Expr1 or returns a
list containing the cosecants of all elements In Gradian angle mode:
in List1.
36 Alphabetical Listing
csc() µ key
csc⁻¹(List1) ⇒ list
Returns the angle whose cosecant is Expr1
or returns a list containing the inverse In Gradian angle mode:
cosecants of each element of List1.
Note: The result is returned as a degree,
gradian or radian angle, according to the
current angle mode setting. In Radian angle mode:
Note: You can insert this function from the
keyboard by typing arccsc(...).
csch⁻¹(List1) ⇒ list
Returns the inverse hyperbolic cosecant of
Expr1 or returns a list containing the
inverse hyperbolic cosecants of each
element of List1.
Note: You can insert this function from the
keyboard by typing arccsch(...).
Alphabetical Listing 37
cSolve() Catalog >
cSolve(Equation, Var) ⇒ Boolean
expression
cSolve(Equation, Var=Guess) ⇒ Boolean
expression
cSolve(Inequality , Var) ⇒ Boolean
expression
cSolve(Eqn1andEqn2 [and…],
VarOrGuess1, VarOrGuess2 [, … ]) ⇒
Boolean expression
38 Alphabetical Listing
cSolve() Catalog >
cSolve(SystemOfEqns, VarOrGuess1,
VarOrGuess2 [, …]) ⇒
Boolean expression
Returns candidate complex solutions to the
simultaneous algebraic equations, where
each varOrGuess specifies a variable that
you want to solve for.
Optionally, you can specify an initial guess
for a variable. Each varOrGuess must have
the form:
variable
– or –
variable = real or non-real number
For example, x is valid and so is x=3+i .
If all of the equations are polynomials and
if you do NOT specify any initial guesses,
cSolve() uses the lexical
Gröbner/Buchberger elimination method to
attempt to determine all complex solutions.
Complex solutions can include both real and
non-real solutions, as in the example to the
right.
Alphabetical Listing 39
cSolve() Catalog >
For polynomial systems, computation time To see the entire result,
or memory exhaustion may depend strongly press 5 and then use 7 and 8 to move the
on the order in which you list solution cursor.
variables. If your initial choice exhausts
memory or your patience, try rearranging
the variables in the equations and/or
varOrGuess list.
If you do not include any guesses and if any
equation is non-polynomial in any variable
but all equations are linear in all solution
variables, cSolve() uses Gaussian
elimination to attempt to determine all
solutions.
If a system is neither polynomial in all of its
variables nor linear in its solution variables,
cSolve() determines at most one solution
using an approximate iterative method. To
do so, the number of solution variables
must equal the number of equations, and
all other variables in the equations must
simplify to numbers.
A non-real guess is often necessary to
determine a non-real solution. For
convergence, a guess might have to be
rather close to a solution.
To see the entire result,
press 5 and then use 7 and 8 to move the
cursor.
40 Alphabetical Listing
CubicReg Catalog >
Freq is an optional list of frequency values.
Each element in Freq specifies the
frequency of occurrence for each
corresponding X and Y data point. The
default value is 1. All elements must be
integers ≥ 0.
Category is a list of category codes for the
corresponding X and Y data.
Include is a list of one or more of the
category codes. Only those data items
whose category code is included in this list
are included in the calculation.
For information on the effect of empty
elements in a list, see “Empty (Void)
Elements,” page 251.
Output
Description
variable
stat.RegEqn Regression equation: a•x 3+b•x 2+c•x+d
stat.XReg List of data points in the modified X List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
stat.YReg List of data points in the modified Y List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
Alphabetical Listing 41
cumulativeSum() Catalog >
cumulativeSum(Matrix1) ⇒ matrix
Returns a matrix of the cumulative sums of
the elements in Matrix1. Each element is
the cumulative sum of the column from top
to bottom.
An empty (void) element in List1 or
Matrix1 produces a void element in the
resulting list or matrix. For more
information on empty elements, see page
251.
42 Alphabetical Listing
cZeros() Catalog >
cZeros(Expr, Var) ⇒ list In Display Digits mode of Fix 3:
cZeros({Expr1, Expr2[, … ] },
{VarOrGuess1,VarOrGuess2[, … ] })
⇒ matrix
Returns candidate positions where the
expressions are zero simultaneously. Each
VarOrGuess specifies an unknown whose
value you seek.
Optionally, you can specify an initial guess
for a variable. Each VarOrGuess must have
the form:
variable
– or –
variable = real or non-real number
For example, x is valid and so is x=3+i .
If all of the expressions are polynomials and
you do NOT specify any initial guesses,
cZeros() uses the lexical
Gröbner/Buchberger elimination method to
attempt to determine all complex zeros.
Complex zeros can include both real and
non-real zeros, as in the example to the
right.
Each row of the resulting matrix represents
an alternate zero, with the components
ordered the same as the VarOrGuess list.
To extract a row, index the matrix by [row].
Extract row 2:
Alphabetical Listing 43
cZeros() Catalog >
Simultaneous polynomials can have extra
variables that have no values, but represent
given numeric values that could be
substituted later.
You can also include unknown variables that
do not appear in the expressions. These
zeros show how families of zeros might
contain arbitrary constants of the form ck ,
where k is an integer suffix from 1 through
255.
For polynomial systems, computation time
or memory exhaustion may depend strongly
on the order in which you list unknowns. If
your initial choice exhausts memory or your
patience, try rearranging the variables in
the expressions and/or VarOrGuess list.
If you do not include any guesses and if any
expression is non-polynomial in any variable
but all expressions are linear in all
unknowns, cZeros() uses Gaussian
elimination to attempt to determine all
zeros.
If a system is neither polynomial in all of its
variables nor linear in its unknowns, cZeros
() determines at most one zero using an
approximate iterative method. To do so, the
number of unknowns must equal the
number of expressions, and all other
variables in the expressions must simplify
to numbers.
A non-real guess is often necessary to
determine a non-real zero. For
convergence, a guess might have to be
rather close to a zero.
44 Alphabetical Listing
dbd() Catalog >
date1 and date2 can be numbers or lists of
numbers within the range of the dates on
the standard calendar. If both date1 and
date2 are lists, they must be the same
length.
date1 and date2 must be between the
years 1950 through 2049.
You can enter the dates in either of two
formats. The decimal placement
differentiates between the date formats.
MM.DDYY (format used commonly in the
United States)
DDMM.YY (format use commonly in
Europe)
Alphabetical Listing 45
►Decimal Catalog >
Displays the argument in decimal form.
This operator can be used only at the end of
the entry line.
46 Alphabetical Listing
Define Catalog >
Note for entering the example: For
instructions on entering multi-line program
and function definitions, refer to the
Calculator section of your product
guidebook.
Note: See also Define LibPriv, page 47, and
Define LibPub, page 47.
Alphabetical Listing 47
Define LibPub Catalog >
Define LibPub Program(Param1, Param2,
...) = Prgm
Block
EndPrgm
Operates the same as Define, except defines
a public library variable, function, or
program. Public functions and programs
appear in the Catalog after the library has
been saved and refreshed.
Note: See also Define, page 46, and Define
LibPriv, page 47.
48 Alphabetical Listing
delVoid() Catalog >
delVoid(List1) ⇒ list
Returns a list that has the contents of List1
with all empty (void) elements removed.
For more information on empty elements,
see page 251.
Alphabetical Listing 49
deSolve() Catalog >
deSolve(1stOrderODE and initCond, Var,
depVar) ⇒ a particular solution
Returns a particular solution that satisfies
1stOrderODE and initCond. This is usually
easier than determining a general solution,
substituting initial values, solving for the
arbitrary constant, and then substituting
that value into the general solution.
initCond is an equation of the form:
depVar (initialIndependentValue ) =
initialDependentValue
The initialIndependentValue and
initialDependentValue can be variables
such as x0 and y0 that have no stored
values. Implicit differentiation can help
verify implicit solutions.
deSolve(2ndOrderODE and initCond1 and
initCond2, Var, depVar)
⇒ particular solution
Returns a particular solution that satisfies
2nd Order ODE and has a specified value
of the dependent variable and its first
derivative at one point.
For initCond1, use the form:
depVar (initialIndependentValue ) =
initialDependentValue
For initCond2, use the form:
depVar (initialIndependentValue ) =
initial1stDerivativeValue
deSolve(2ndOrderODE and bndCond1 and
bndCond2, Var, depVar)
⇒ a particular solution
Returns a particular solution that satisfies
2ndOrderODE and has specified values at
two different points.
50 Alphabetical Listing
deSolve() Catalog >
Alphabetical Listing 51
dim() Catalog >
dim(List ) ⇒ integer
Returns the dimension of List .
dim(Matrix ) ⇒ list
Returns the dimensions of matrix as a two-
element list {rows, columns}.
dim(String) ⇒ integer
Returns the number of characters contained
in character string String.
52 Alphabetical Listing
DispAt Catalog >
This command allows dashboard-like
output from programs where the value
of an expression or from a sensor
reading is updated on the same line.
DispAtand Disp can be used within the
same program.
Note: The maximum number is set to 8
since that matches a screen-full of lines
on the handheld screen - as long as the
lines don't have 2D math expressions.
The exact number of lines depends on
the content of the displayed
information. Illustrative examples:
Define z()= Output
Prgm z()
For n,1,3 Iteration 1:
DispAt 1,"N: ",n Line 1: N:1
Disp "Hello" Line 2: Hello
EndFor
EndPrgm Iteration 2:
Line 1: N:2
Line 2: Hello
Line 3: Hello
Iteration 3:
Line 1: N:3
Line 2: Hello
Line 3: Hello
Line 4: Hello
Define z1()= z1()
Prgm Line 1: N:3
For n,1,3 Line 2: Hello
DispAt 1,"N: ",n Line 3: Hello
EndFor Line 4: Hello
Line 5: Hello
For n,1,4
Disp "Hello"
EndFor
EndPrgm
Alphabetical Listing 53
DispAt Catalog >
Error conditions:
List ►DMS
Matrix ►DMS
54 Alphabetical Listing
domain() Catalog >
domain(Expr1, Var) ⇒ expression
Returns the domain of Expr1 with respect
to Var.
domain() can be used to examine domains
of functions. It is restricted to real and finite
domain.
This functionality has limitations due to
shortcomings of computer algebra
simplification and solver algorithms.
Certain functions cannot be used as
arguments for domain() , regardless of
whether they appear explicitly or within
user-defined variables and functions. In the
following example, the expression cannot
be simplified because ∫() is a disallowed
function.
Alphabetical Listing 55
dominantTerm() Catalog >
Returns the dominant term of a power
series representation of Expr1 expanded
about Point . The dominant term is the one
whose magnitude grows most rapidly near
Var = Point . The resulting power of (Var −
Point ) can have a negative and/or
fractional exponent. The coefficient of this
power can include logarithms of ( Var −
Point ) and other functions of Var that are
dominated by all powers of ( Var − Point )
having the same exponent sign.
Point defaults to 0. Point can be ∞ or −∞,
in which cases the dominant term will be
the term having the largest exponent of
Var rather than the smallest exponent of
Var.
dominantTerm(…) returns “dominantTerm
(…) ” if it is unable to determine such a
representation, such as for essential
singularities such as sin(1/ z) at z=0, e−1/z
at z=0, or ez at z = ∞ or −∞.
If the series or one of its derivatives has a
jump discontinuity at Point , the result is
likely to contain sub-expressions of the
form sign(…) or abs(…) for a real expansion
variable or (-1) floor(…angle(…)…) for a complex
expansion variable, which is one ending
with “_”. If you intend to use the dominant
term only for values on one side of Point ,
then append to dominantTerm( ...) the
appropriate one of “| Var > Point ”, “| Var
< Point ”, “| “Var ≥ Point ”, or “Var ≤
Point ” to obtain a simpler result.
dominantTerm() distributes over 1st-
argument lists and matrices.
dominantTerm() is useful when you want to
know the simplest possible expression that
is asymptotic to another expression as
Var→Point . dominantTerm() is also useful
when it isn’t obvious what the degree of
the first non-zero term of a series will be,
and you don’t want to iteratively guess
either interactively or by a program loop.
56 Alphabetical Listing
dominantTerm() Catalog >
Note: See also series() , page 161.
e^() u key
e ^(Expr1) ⇒ expression
Returns e raised to the Expr1 power.
Note: See also e exponent template, page
2.
Alphabetical Listing 57
e^() u key
Returns the matrix exponential of
squareMatrix1. This is not the same as
calculating e raised to the power of each
element. For information about the
calculation method, refer to cos() .
squareMatrix1 must be diagonalizable. The
result always contains floating-point
numbers.
58 Alphabetical Listing
eigVl() Catalog >
eigVl(squareMatrix ) ⇒ list In Rectangular complex format mode:
Alphabetical Listing 59
EndIf See If, page 86.
Uses the Euler method to solve the system Compare above result with CAS exact
solution obtained using deSolve() and
seqGen():
with depVar( Var0)=depVar0 on the
interval [Var0,VarMax ]. Returns a matrix
whose first row defines the Var output
values and whose second row defines the
value of the first solution component at the
corresponding Var values, and so on.
Expr is the right-hand side that defines the
ordinary differential equation (ODE).
60 Alphabetical Listing
euler () Catalog >
SystemOfExpr is the system of right-hand
sides that define the system of ODEs
(corresponds to order of dependent
variables in ListOfDepVars).
ListOfExpr is a list of right-hand sides that
define the system of ODEs (corresponds to
the order of dependent variables in
ListOfDepVars).
Var is the independent variable.
ListOfDepVars is a list of dependent
variables. System of equations:
Alphabetical Listing 61
eval () Hub Menu
62 Alphabetical Listing
Exit Catalog >
Exit Function listing:
exp() u key
exp(Expr1) ⇒ expression
Returns e raised to the Expr1 power.
Note: See also e exponent template, page
2.
You can enter a complex number in reiθ
polar form. However, use this form in
Radian angle mode only; it causes a
Domain error in Degree or Gradian angle
mode.
exp(List1) ⇒ list
Returns e raised to the power of each
element in List1.
Alphabetical Listing 63
exp() u key
exp(squareMatrix1) ⇒ squareMatrix
Returns the matrix exponential of
squareMatrix1. This is not the same as
calculating e raised to the power of each
element. For information about the
calculation method, refer to cos() .
squareMatrix1 must be diagonalizable. The
result always contains floating-point
numbers.
64 Alphabetical Listing
expand() Catalog >
expand( Expr1,Var) returns Expr1
expanded with respect to Var. Similar
powers of Var are collected. The terms and
their factors are sorted with Var as the
main variable. There might be some
incidental factoring or expansion of the
collected coefficients. Compared to
omitting Var, this often saves time,
memory, and screen space, while making
the expression more comprehensible.
Alphabetical Listing 65
ExpReg Catalog >
ExpReg X, Y [, [Freq] [, Category,
Include ]]
Computes the exponential regression y = a•
(b) x on lists X and Y with frequency Freq. A
summary of results is stored in the
stat.results variable. (See page 176.)
All the lists must have equal dimension
except for Include .
X and Y are lists of independent and
dependent variables.
Freq is an optional list of frequency values.
Each element in Freq specifies the
frequency of occurrence for each
corresponding X and Y data point. The
default value is 1. All elements must be
integers ≥ 0.
Category is a list of category codes for the
corresponding X and Y data.
Include is a list of one or more of the
category codes. Only those data items
whose category code is included in this list
are included in the calculation.
For information on the effect of empty
elements in a list, see “Empty (Void)
Elements,” page 251.
Output
Description
variable
stat.RegEqn Regression equation: a•(b)x
stat.XReg List of data points in the modified X List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
stat.YReg List of data points in the modified Y List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
66 Alphabetical Listing
Output
Description
variable
stat.FreqReg List of frequencies corresponding to stat.XReg and stat.YReg
Alphabetical Listing 67
factor() Catalog >
Note: See also comDenom() for a fast way
to achieve partial factoring when factor() is
not fast enough or if it exhausts memory.
Note: See also cFactor() for factoring all the
way to complex coefficients in pursuit of
linear factors.
factor( rationalNumber) returns the rational
number factored into primes. For
composite numbers, the computing time
grows exponentially with the number of
digits in the second-largest factor. For
example, factoring a 30-digit integer could
take more than a day, and factoring a 100-
digit number could take more than a
century.
To stop a calculation manually,
68 Alphabetical Listing
FCdf() Catalog >
Computes the F distribution probability
between lowBound and upBound for the
specified dfNumer (degrees of freedom) and
dfDenom.
For P( X ≤ upBound), set lowBound = 0.
Alphabetical Listing 69
FiveNumSummary Catalog >
An empty (void) element in any of the lists
X, Freq, or Category results in a void for
the corresponding element of all those lists.
For more information on empty elements,
see page 251.
70 Alphabetical Listing
fMax() Catalog >
You can use the constraint (“|”) operator to
restrict the solution interval and/or specify
other constraints.
For the Approximate setting of the Auto or
Approximate mode, fMax() iteratively
searches for one approximate local
maximum. This is often faster, particularly
if you use the “|” operator to constrain the
search to a relatively small interval that
contains exactly one local maximum.
Note: See also fMin() and max() .
Alphabetical Listing 71
For Catalog >
For Var, Low, High [, Step]
Block
EndFor
Executes the statements in Block
iteratively for each value of Var, from Low
to High, in increments of Step.
Var must not be a system variable.
Step can be positive or negative. The
default value is 1.
Block can be either a single statement or a
series of statements separated with the “:”
character.
Note for entering the example: For
instructions on entering multi-line program
and function definitions, refer to the
Calculator section of your product
guidebook.
72 Alphabetical Listing
format() Catalog >
G[n][c]: Same as fixed format but also
separates digits to the left of the radix into
groups of three. c specifies the group
separator character and defaults to a
comma. If c is a period, the radix will be
shown as a comma.
[Rc]: Any of the above specifiers may be
suffixed with the Rc radix flag, where c is a
single character that specifies what to
substitute for the radix point.
Alphabetical Listing 73
freqTable►list() Catalog >
freqIntegerList must have the same
dimension as List1 and must contain non-
negative integer elements only. Each
element specifies the number of times the
corresponding List1 element will be
repeated in the result list. A value of zero
excludes the corresponding List1 element.
Note: You can insert this function from the
computer keyboard by typing
freqTable@>list(...).
Empty (void) elements are ignored. For
more information on empty elements, see
page 251.
74 Alphabetical Listing
FTest_2Samp Catalog >
FTest_2Samp List1,List2[,Freq1[,Freq2
[,Hypoth]]]
FTest_2Samp List1,List2[,Freq1[,Freq2
[,Hypoth]]]
(Data list input)
FTest_2Samp sx1,n1,sx2,n2[,Hypoth]
FTest_2Samp sx1,n1,sx2,n2[,Hypoth]
(Summary stats input)
Performs a two-sample F test. A summary
of results is stored in the stat.results
variable. (See page 176.)
For H : σ1 > σ2, set Hypoth>0
a
For H : σ1 ≠ σ2 (default), set Hypoth =0
a
For H : σ1 < σ2, set Hypoth<0
a
For information on the effect of empty
elements in a list, see Empty (Void)
Elements, page 251.
stat.PVal Smallest level of significance at which the null hypothesis can be rejected
stat.sx1, stat.sx2 Sample standard deviations of the data sequences in List 1 and List 2
Alphabetical Listing 75
Func Catalog >
Block can be a single statement, a series
of statements separated with the “:”
character, or a series of statements on
separate lines. The function can use the
Return instruction to return a specific result.
Note for entering the example: For
instructions on entering multi-line program
and function definitions, refer to the
Result of graphing g(x)
Calculator section of your product
guidebook.
76 Alphabetical Listing
geomCdf() Catalog >
if lowBound and upBound are numbers, list
if lowBound and upBound are lists
geomCdf(p,upBound)for P(1≤X≤upBound)
⇒ number if upBound is a number, list if
upBound is a list
Computes a cumulative geometric
probability from lowBound to upBound with
the specified probability of success p.
For P(X ≤ upBound), set lowBound = 1.
Alphabetical Listing 77
Get Hub Menu
Implicit simplification takes place. For
example, a received string of "123" is
interpreted as a numeric value. To preserve
the string, use GetStr instead of Get.
If you include the optional argument
statusVar, it is assigned a value based on
the success of the operation. A value of
zero means that no data was received.
In the second syntax, the func () argument
allows a program to store the received
string as a function definition. This syntax
operates as if the program executed the
command:
Define func ( arg1, ...argn) = received
string
The program can then use the defined
function func ().
Note: You can use the Get command within
a user-defined program but not within a
function.
Note: See also GetStr, page 84 and Send,
page 158.
78 Alphabetical Listing
getKey() Catalog >
• keypressed := getKey() will return a
key or an empty string if no key has
been pressed. This call will return
immediately.
• keypressed := getKey(1) will wait till
a key is pressed. This call will pause
execution of the program till a key is
pressed.
= = "="
trig n/a "trig"
0 through 9 0-9 "0" ... "9"
Alphabetical Listing 79
Handheld Device/Emulator
Desktop Return Value
Key
Templates n/a "template"
Catalog n/a "cat"
^ ^ "^"
X^2 n/a "square"
/ (division key) / "/"
* (multiply key) * "*"
e^x n/a "exp"
10^x n/a "10power"
+ + "+"
- - "-"
( ( "("
) ) ")"
. . "."
(-) n/a "-" (negate sign)
Enter Enter "enter"
pi n/a "pi"
Flag n/a no return
, , ","
Return n/a "return"
80 Alphabetical Listing
Handheld Device/Emulator
Desktop Return Value
Key
Space Space " " (space)
Alphabetical Listing 81
exit the program the TI-
Innovator™ Hub is still
working with the
handheld.
82 Alphabetical Listing
getMode() Catalog >
getMode(ModeNameInteger) ⇒ value
getMode(0) ⇒ list
getMode( ModeNameInteger) returns a
value representing the current setting of
the ModeNameInteger mode.
getMode(0) returns a list containing
number pairs. Each pair consists of a mode
integer and a setting integer.
For a listing of the modes and their
settings, refer to the table below.
If you save the settings with getMode(0) →
var, you can use setMode( var) in a function
or program to temporarily restore the
settings within the execution of the
function or program only. See setMode() ,
page 162.
Mode Mode
Name Integer Setting Integers
Display 1 1=Float, 2=Float1, 3=Float2, 4=Float3, 5=Float4, 6=Float5,
Digits 7=Float6, 8=Float7, 9=Float8, 10=Float9, 11=Float10,
12=Float11, 13=Float12, 14=Fix0, 15=Fix1, 16=Fix2,
17=Fix3, 18=Fix4, 19=Fix5, 20=Fix6, 21=Fix7, 22=Fix8,
23=Fix9, 24=Fix10, 25=Fix11, 26=Fix12
Angle 2 1=Radian, 2=Degree, 3=Gradian
Exponential 3 1=Normal, 2=Scientific, 3=Engineering
Format
Real or 4 1=Real, 2=Rectangular, 3=Polar
Complex
Auto or 5 1=Auto, 2=Approximate, 3=Exact
Approx.
Vector 6 1=Rectangular, 2=Cylindrical, 3=Spherical
Format
Base 7 1=Decimal, 2=Hex, 3=Binary
Unit 8 1=SI, 2=Eng/US
system
Alphabetical Listing 83
getNum() Catalog >
getNum(Expr1) ⇒ expression
Transforms the argument into an
expression having a reduced common
denominator, and then returns its
numerator.
84 Alphabetical Listing
getVarInfo() Catalog >
getVarInfo() ⇒ matrix or string
getVarInfo(LibNameString) ⇒ matrix or
string
getVarInfo() returns a matrix of information
(variable name, type, library accessibility,
and locked/unlocked state) for all variables
and library objects defined in the current
problem.
If no variables are defined, getVarInfo()
returns the string "NONE".
getVarInfo( LibNameString) returns a matrix
of information for all library objects defined
in library LibNameString. LibNameString
must be a string (text enclosed in quotation
marks) or a string variable.
If the library LibNameString does not exist,
an error occurs.
Note the example, in which the result of
getVarInfo() is assigned to variable vs.
Attempting to display row 2 or row 3 of vs
returns an “Invalid list or matrix” error
because at least one of elements in those
rows (variable b, for example) revaluates to
a matrix.
This error could also occur when using Ans
to reevaluate a getVarInfo() result.
The system gives the above error because
the current version of the software does not
support a generalized matrix structure
where an element of a matrix can be either
a matrix or a list.
Alphabetical Listing 85
Goto Catalog >
Goto labelName
Transfers control to the label labelName .
labelName must be defined in the same
function using a Lbl instruction.
Note for entering the example: For
instructions on entering multi-line program
and function definitions, refer to the
Calculator section of your product
guidebook.
If Catalog >
If BooleanExpr
Statement
If BooleanExpr Then
Block
EndIf
86 Alphabetical Listing
If Catalog >
If BooleanExpr evaluates to true, executes
the single statement Statement or the block
of statements Block before continuing
execution.
If BooleanExpr evaluates to false,
continues execution without executing the
statement or block of statements.
Block can be either a single statement or a
sequence of statements separated with the
“:” character.
Note for entering the example: For
instructions on entering multi-line program
and function definitions, refer to the
Calculator section of your product
guidebook.
If BooleanExpr Then
Block1
Else
Block2
EndIf
If BooleanExpr evaluates to true, executes
Block1 and then skips Block2.
If BooleanExpr evaluates to false, skips
Block1 but executes Block2.
Block1 and Block2 can be a single
statement.
If BooleanExpr1 Then
Block1
ElseIf BooleanExpr2 Then
Block2
⋮
ElseIf BooleanExprN Then
BlockN
EndIf
Allows for branching. If BooleanExpr1
evaluates to true, executes Block1. If
BooleanExpr1 evaluates to false, evaluates
BooleanExpr2, and so on.
Alphabetical Listing 87
ifFn() Catalog >
ifFn( BooleanExpr,Value_If_true [,Value_
If_false [,Value_If_unknown]]) ⇒
expression, list, or matrix
Evaluates the boolean expression Test value of 1 is less than 2.5, so its
BooleanExpr (or each element from corresponding
BooleanExpr ) and produces a result based Value_If_True element of 5 is copied to
on the following rules: the result list.
• BooleanExpr can test a single value, a
list, or a matrix.
• If an element of BooleanExpr evaluates Test value of 2 is less than 2.5, so its
to true, returns the corresponding corresponding
element from Value_If_true . Value_If_True element of 6 is copied to
• If an element of BooleanExpr evaluates the result list.
to false, returns the corresponding
element from Value_If_false . If you
omit Value_If_false , returns undef. Test value of 3 is not less than 2.5, so its
corresponding Value_If_False element of
• If an element of BooleanExpr is neither 10 is copied to the result list.
true nor false, returns the corresponding
element Value_If_unknown. If you omit
Value_If_unknown, returns undef.
• If the second, third, or fourth argument
of the ifFn() function is a single Value_If_true is a single value and
expression, the Boolean test is applied to corresponds to any selected position.
every position in BooleanExpr.
Note: If the simplified BooleanExpr
statement involves a list or matrix, all other
list or matrix arguments must have the
same dimension(s), and the result will have Value_If_false is not specified. Undef is
the same dimension(s). used.
88 Alphabetical Listing
imag() Catalog >
Note: All undefined variables are treated as
real variables. See also real(), page 146
imag(List1) ⇒ list
Returns a list of the imaginary parts of the
elements.
imag(Matrix1) ⇒ matrix
Returns a matrix of the imaginary parts of
the elements.
Alphabetical Listing 89
int() Catalog >
int(Expr) ⇒ integer
int(List1) ⇒ list
int(Matrix1) ⇒ matrix
Returns the greatest integer that is less
than or equal to the argument. This
function is identical to floor() .
The argument can be a real or a complex
number.
For a list or matrix, returns the greatest
integer of each of the elements.
90 Alphabetical Listing
interpolate () Catalog >
Given xList , yList =f( xList ) , and Use the interpolate() function to calculate the
yPrimeList =f'( xList ) for some unknown function values for the xvaluelist:
function f , a cubic interpolant is used to
approximate the function f at xValue . It is
assumed that xList is a list of
monotonically increasing or decreasing
numbers, but this function may return a
value even when it is not. This function
walks through xList looking for an interval
[xList [i], xList [i+1]] that contains xValue .
If it finds such an interval, it returns an
interpolated value for f( xValue ) ; otherwise,
it returns undef.
xList , yList , and yPrimeList must be of
equal dimension ≥ 2 and contain
expressions that simplify to numbers.
xValue can be an undefined variable, a
number, or a list of numbers.
Alphabetical Listing 91
invBinom() Catalog >
invBinom Example: Mary and Kevin are playing a dice
(CumulativeProb,NumTrials,Prob, game. Mary has to guess the maximum
OutputForm)⇒ scalar or matrix number of times 6 shows up in 30 rolls. If the
number 6 shows up that many times or less,
Inverse binomial. Given the number of trials Mary wins. Furthermore, the smaller the
( NumTrials) and the probability of success number that she guesses, the greater her
of each trial ( Prob), this function returns winnings. What is the smallest number Mary
the minimum number of successes, k , such can guess if she wants the probability of
that the value, k , is greater than or equal to winning to be greater than 77%?
the given cumulative probability
( CumulativeProb).
OutputForm=0, displays result as a scalar
(default).
OutputForm=1, displays result as a matrix.
92 Alphabetical Listing
invt() Catalog >
Computes the inverse cumulative student-t
probability function specified by degree of
freedom, df for a given Area under the
curve.
Alphabetical Listing 93
isPrime() Catalog >
Returns true or false to indicate if number
is a whole number ≥ 2 that is evenly Function to find the next prime after a
divisible only by itself and 1. specified number:
94 Alphabetical Listing
L
Alphabetical Listing 95
left() Catalog >
Returns the leftmost Num elements
contained in List1.
If you omit Num, returns all of List1.
left(Comparison) ⇒ expression
Returns the left-hand side of an equation or
inequality.
96 Alphabetical Listing
limit() or lim() Catalog >
Limits at positive ∞ and at negative ∞ are
always converted to one-sided limits from
the finite side.
Depending on the circumstances, limit()
returns itself or undef when it cannot
determine a unique limit. This does not
necessarily mean that a unique limit does
not exist. undef means that the result is
either an unknown number with finite or
infinite magnitude, or it is the entire set of
such numbers.
limit() uses methods such as L’Hopital’s
rule, so there are unique limits that it
cannot determine. If Expr1 contains
undefined variables other than Var, you
might have to constrain them to obtain a
more concise result.
Limits can be very sensitive to rounding
error. When possible, avoid the
Approximate setting of the Auto or
Approximate mode and approximate
numbers when computing limits.
Otherwise, limits that should be zero or
have infinite magnitude probably will not,
and limits that should have finite non-zero
magnitude might not.
Alphabetical Listing 97
LinRegBx Catalog >
Freq is an optional list of frequency values.
Each element in Freq specifies the
frequency of occurrence for each
corresponding X and Y data point. The
default value is 1. All elements must be
integers ≥ 0.
Category is a list of category codes for the
corresponding X and Y data.
Include is a list of one or more of the
category codes. Only those data items
whose category code is included in this list
are included in the calculation.
For information on the effect of empty
elements in a list, see “Empty (Void)
Elements,” page 251.
Output
Description
variable
stat.RegEqn Regression Equation: a+b•x
stat.XReg List of data points in the modified X List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
stat.YReg List of data points in the modified Y List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
98 Alphabetical Listing
LinRegMx Catalog >
X and Y are lists of independent and
dependent variables.
Freq is an optional list of frequency values.
Each element in Freq specifies the
frequency of occurrence for each
corresponding X and Y data point. The
default value is 1. All elements must be
integers ≥ 0.
Category is a list of category codes for the
corresponding X and Y data.
Include is a list of one or more of the
category codes. Only those data items
whose category code is included in this list
are included in the calculation.
For information on the effect of empty
elements in a list, see “Empty (Void)
Elements,” page 251.
Output
Description
variable
stat.RegEqn Regression Equation: y = m•x+b
stat.XReg List of data points in the modified X List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
stat.YReg List of data points in the modified Y List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
Alphabetical Listing 99
LinRegtIntervals Catalog >
For Response. Computes a predicted y-value,
a level C prediction interval for a single
observation, and a level C confidence
interval for the mean response.
A summary of results is stored in the
stat.results variable. (See page 176.)
All the lists must have equal dimension.
X and Y are lists of independent and
dependent variables.
F is an optional list of frequency values.
Each element in F specifies the frequency of
occurrence for each corresponding X and Y
data point. The default value is 1. All
elements must be integers ≥ 0.
For information on the effect of empty
elements in a list, see “Empty (Void)
Elements,” page 251.
stat. y a + b•XVal
ln() /u keys
ln(Expr1) ⇒ expression
ln(List1) ⇒ list
If complex format mode is Real:
Output
Description
variable
stat.RegEqn Regression equation: a+b•ln(x)
stat.XReg List of data points in the modified X List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
stat.YReg List of data points in the modified Y List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
log() /s keys
log( Expr1[,Expr2]) ⇒ expression
Output
Description
variable
stat.RegEqn Regression equation: c/(1+a•e-bx)
stat.XReg List of data points in the modified X List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
stat.YReg List of data points in the modified Y List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
Output
Description
variable
stat.RegEqn Regression equation: c/(1+a•e-bx)+d)
stat.XReg List of data points in the modified X List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
stat.YReg List of data points in the modified Y List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
LU Catalog >
LU Matrix , lMatrix , uMatrix , pMatrix
[,Tol]
Calculates the Doolittle LU (lower-upper)
decomposition of a real or complex matrix.
The lower triangular matrix is stored in
lMatrix , the upper triangular matrix in
uMatrix , and the permutation matrix
(which describes the row swaps done
during the calculation) in pMatrix .
lMatrix•uMatrix = pMatrix•matrix
Optionally, any matrix element is treated as
zero if its absolute value is less than Tol .
This tolerance is used only if the matrix has
floating-point entries and does not contain
any symbolic variables that have not been
assigned a value. Otherwise, Tol is ignored.
Output
Description
variable
stat.RegEqn Median-median line equation: m•x+b
stat.XReg List of data points in the modified X List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
stat.YReg List of data points in the modified Y List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
Output
Description
variable
stat.RegEqn Regression Equation: b0+b1•x1+b2•x2+ ...
stat.CookDist Cook’s distance; measure of the influence of an observation based on the residual
and leverage
stat.Leverage Measure of how far the values of the independent variable are from their mean
values
nand /= keys
BooleanExpr1 nand BooleanExpr2 returns
Boolean expression
BooleanList1 nand BooleanList2 returns
Boolean list
BooleanMatrix1 nand BooleanMatrix2
returns Boolean matrix
Returns the negation of a logical and
operation on the two arguments. Returns
true, false, or a simplified form of the
equation.
For lists and matrices, returns comparisons
element by element.
nor /= keys
BooleanExpr1 nor BooleanExpr2 returns
Boolean expression
BooleanList1 nor BooleanList2 returns
Boolean list
BooleanMatrix1 nor BooleanMatrix2
returns Boolean matrix
Returns the negation of a logical or
operation on the two arguments. Returns
true, false, or a simplified form of the
equation.
For lists and matrices, returns comparisons
element by element.
Returns the one’s complement of a real Important: Zero, not the letter O.
integer. Internally, Integer1 is converted to
a signed, 64-bit binary number. The value of
each bit is flipped (0 becomes 1, and vice
versa) for the one’s complement. Results
are displayed according to the Base mode. In Bin base mode:
or Catalog >
BooleanExpr1 or BooleanExpr2 returns
Boolean expression
BooleanList1 or BooleanList2 returns
Boolean list
BooleanMatrix1 or BooleanMatrix2
returns Boolean matrix
Returns true or false or a simplified form of
the original entry.
Returns true if either or both expressions
simplify to true. Returns false only if both
expressions evaluate to false.
Note: See xor.
Note for entering the example: For
instructions on entering multi-line program
and function definitions, refer to the
Calculator section of your product
guidebook.
Integer1 or Integer2 ⇒ integer In Hex base mode:
Displays
complexVector in
polar form.
• Degree angle mode
returns (r∠ θ).
• Radian angle mode
returns reiθ. In Gradian angle mode:
complexValue can
have any complex
form. However, an reiθ
entry causes an error in
In Degree angle mode:
Degree angle mode.
Note: You must use the
parentheses for an
(r∠ θ) polar entry.
Output
Description
variable
stat.RegEqn Regression equation: a•(x)b
stat.XReg List of data points in the modified X List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
stat.YReg List of data points in the modified Y List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
QR Catalog >
QR Matrix , qMatrix , rMatrix [, Tol ] The floating-point number (9.) in m1 causes
results to be calculated in floating-point
Calculates the Householder QR factorization form.
of a real or complex matrix. The resulting Q
and R matrices are stored to the specified
Matrix . The Q matrix is unitary. The R
matrix is upper triangular.
Output Description
variable
stat.RegEqn Regression equation: a•x 2+b•x+c
stat.XReg List of data points in the modified X List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
stat.YReg List of data points in the modified Y List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
stat.XReg List of data points in the modified X List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
stat.YReg List of data points in the modified Y List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
sec() µ key
sec(Expr1) ⇒ expression In Degree angle mode:
sec(List1) ⇒ list
Returns the secant of Expr1 or returns a
list containing the secants of all elements
in List1.
Note: The argument is interpreted as a
degree, gradian or radian angle, according
to the current angle mode setting. You can
use °, G, or r to override the angle mode
temporarily.
sec⁻¹(List1) ⇒ list
Returns the angle whose secant is Expr1 or
returns a list containing the inverse secants In Gradian angle mode:
of each element of List1.
Note: The result is returned as a degree,
gradian, or radian angle, according to the
current angle mode setting.
In Radian angle mode:
Note: You can insert this function from the
keyboard by typing arcsec(...).
sech(List1) ⇒ list
Returns the hyperbolic secant of Expr1 or
returns a list containing the hyperbolic
secants of the List1 elements.
Handheld: Press / ·.
Windows®: Press Ctrl+Enter .
Macintosh®: Press “+Enter .
iPad®: Hold enter , and select .
seqGen(ListOrSystemOfExpr, Var,
ListOfDepVars, {Var0, VarMax } [
, MatrixOfInitTerms[, VarStep[,
CeilingValue ]]]) ⇒ matrix
Mode Mode
Name Integer Setting Integers
Display 1 1=Float, 2=Float1, 3=Float2, 4=Float3, 5=Float4, 6=Float5,
Digits 7=Float6, 8=Float7, 9=Float8, 10=Float9, 11=Float10,
12=Float11, 13=Float12, 14=Fix0, 15=Fix1, 16=Fix2,
17=Fix3, 18=Fix4, 19=Fix5, 20=Fix6, 21=Fix7, 22=Fix8,
23=Fix9, 24=Fix10, 25=Fix11, 26=Fix12
Angle 2 1=Radian, 2=Degree, 3=Gradian
Exponential 3 1=Normal, 2=Scientific, 3=Engineering
Format
Real or 4 1=Real, 2=Rectangular, 3=Polar
Complex
Auto or 5 1=Auto, 2=Approximate, 3=Exact
Approx.
Vector 6 1=Rectangular, 2=Cylindrical, 3=Spherical
Format
Base 7 1=Decimal, 2=Hex, 3=Binary
Unit 8 1=SI, 2=Eng/US
system
sign(List1) ⇒ list
sign(Matrix1) ⇒ matrix
For real and complex Expr1, returns
Expr1/abs( Expr1) when Expr1≠ 0. If complex format mode is Real:
sin() µ key
sin(Expr1) ⇒ expression In Degree angle mode:
sin⁻¹() µ key
sin⁻¹(Expr1) ⇒ expression In Degree angle mode:
sin⁻¹(List1) ⇒ list
sin⁻¹( Expr1) returns the angle whose sine
is Expr1 as an expression. In Gradian angle mode:
sin⁻¹( List1) returns a list of the inverse
sines of each element of List1.
Note: The result is returned as a degree,
In Radian angle mode:
gradian or radian angle, according to the
current angle mode setting.
sinh(List1) ⇒ list
sinh ( Expr1) returns the hyperbolic sine of
the argument as an expression.
sinh ( List1) returns a list of the hyperbolic
sines of each element of List1.
sinh(squareMatrix1) ⇒ squareMatrix In Radian angle mode:
sinh⁻¹(List1) ⇒ list
sinh⁻¹( Expr1) returns the inverse hyperbolic
sine of the argument as an expression.
sinh⁻¹( List1) returns a list of the inverse
hyperbolic sines of each element of List1.
Output
Description
variable
stat.RegEqn Regression Equation: a•sin(bx+c)+d
stat.XReg List of data points in the modified X List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
stat.YReg List of data points in the modified Y List actually used in the regression based on
restrictions of Freq , Category List, and Include Categories
Note: You can insert this operator from the Handheld: Press / ·.
computer keyboard by typing @>Sphere. Windows®: Press Ctrl+Enter .
Macintosh®: Press “+Enter .
Displays the row or column vector in
iPad®: Hold enter , and select .
spherical form [ρ∠ θ∠ φ].
Vector must be of dimension 3 and can be
either a row or a column vector.
Note: ►Sphere is a display-format
instruction, not a conversion function. You
can use it only at the end of an entry line.
Press ·
sqrt(List1) ⇒ list
Returns the square root of the argument.
For a list, returns the square roots of all the
elements in List1.
Note: See also Square root template, page
1.
Note: Each time the Lists & Spreadsheet application calculates statistical results, it
copies the “stat.” group variables to a “stat#.” group, where # is a number that is
incremented automatically. This lets you maintain previous results while
performing multiple calculations.
tan() µ key
tan(Expr1) ⇒ expression In Degree angle mode:
tan(List1) ⇒ list
tan( Expr1) returns the tangent of the
argument as an expression.
tan( List1) returns a list of the tangents of
all elements in List1.
In Gradian angle mode:
Note: The argument is interpreted as a
degree, gradian or radian angle, according
to the current angle mode. You can use °, g
or r to override the angle mode setting
temporarily.
tan⁻¹() µ key
tan⁻¹(Expr1) ⇒ expression In Degree angle mode:
tan⁻¹(List1) ⇒ list
tan⁻¹( Expr1) returns the angle whose
tangent is Expr1 as an expression. In Gradian angle mode:
tan⁻¹( List1) returns a list of the inverse
tangents of each element of List1.
Note: The result is returned as a degree,
gradian or radian angle, according to the In Radian angle mode:
current angle mode setting.
Note: You can insert this function from the
keyboard by typing arctan(...).
tan⁻¹(squareMatrix1) ⇒ squareMatrix In Radian angle mode:
tanh⁻¹(List1) ⇒ list
tanh⁻¹( Expr1) returns the inverse
hyperbolic tangent of the argument as an
expression.
tanh⁻¹( List1) returns a list of the inverse
hyperbolic tangents of each element of
List1.
Note: You can insert this function from the
keyboard by typing arctanh(...).
tanh⁻¹(squareMatrix1) ⇒ squareMatrix In Radian angle mode and Rectangular
complex format:
stat. v Sample mean of the data sequence from the normal random distribution
stat. v1-v2 Sample means of the data sequences from the normal random
distribution
stat. σx1, stat. σx2 Sample standard deviations for List 1 and List 2
Else
If errCode=230 Then
Disp "Error: Product of A•B must be a
square matrix"
Note: See also ClrErr, page 25, and PassErr,
ClrErr
page 131.
Else
PassErr
EndIf
EndTry
EndPrgm
stat.PVal Smallest level of significance at which the null hypothesis can be rejected
stat.PVal Smallest level of significance at which the null hypothesis can be rejected
stat. v1, stat. v2 Sample means of the data sequences in List 1 and List 2
stat.sx1, stat.sx2 Sample standard deviations of the data sequences in List 1 and List 2
* These time-value-of-money argument names are similar to the TVM variable names
(such as tvm.pv and tvm.pmt) that are used by the Calculator application’s finance
solver. Financial functions, however, do not store their argument values or results to
the TVM variables.
Compares two real integers bit-by-bit using Important: Zero, not the letter O.
an xor operation. Internally, both integers
are converted to signed, 64-bit binary
numbers. When corresponding bits are
compared, the result is 1 if either bit (but
not both) is 1; the result is 0 if both bits are In Bin base mode:
0 or both bits are 1. The returned value
represents the bit results, and is displayed
according to the Base mode.
stat. x Sample mean of the data sequence from the normal random distribution
stat. x1-x2 Sample means of the data sequences from the normal random
distribution
stat. x1, stat. x2 Sample means of the data sequences from the normal random
distribution
stat. σx1, stat. σx2 Sample standard deviations for List 1 and List 2
stat.r1, stat.r2 Known population standard deviations for data sequence List 1 and List
2
stat.P Value Least probability at which the null hypothesis can be rejected
stat.sx Sample standard deviation of the data sequence. Only returned for Data input.
stat.PVal Smallest level of significance at which the null hypothesis can be rejected
stat.PVal Smallest level of significance at which the null hypothesis can be rejected
stat.PVal Smallest level of significance at which the null hypothesis can be rejected
stat. x1, stat. x2 Sample means of the data sequences in List1 and List2
stat.sx1, stat.sx2 Sample standard deviations of the data sequences in List1 and List2
+ (add) + key
Expr1 + Expr2 ⇒ expression
Returns the sum of the two arguments.
− (subtract) - key
Expr1 − Expr2 ⇒ expression
Returns Expr1 minus Expr2.
210 Symbols
− (subtract) - key
Subtracts each element in List2 (or
Matrix2) from the corresponding element
in List1 (or Matrix1), and returns the
results.
Dimensions of the arguments must be
equal.
Expr − List1 ⇒ list
List1 − Expr ⇒ list
Subtracts each List1 element from Expr or
subtracts Expr from each List1 element,
and returns a list of the results.
Expr − Matrix1 ⇒ matrix
Matrix1 − Expr ⇒ matrix
Expr − Matrix1 returns a matrix of Expr
times the identity matrix minus
Matrix1. Matrix1 must be square.
Matrix1 − Expr returns a matrix of Expr
times the identity matrix subtracted from
Matrix1. Matrix1 must be square.
Note: Use .− (dot minus) to subtract an
expression from each element.
• (multiply) r key
Expr1•Expr2 ⇒ expression
Returns the product of the two arguments.
List1•List2 ⇒ list
Returns a list containing the products of the
corresponding elements in List1 and List2.
Dimensions of the lists must be equal.
Matrix1•Matrix2 ⇒ matrix
Returns the matrix product of Matrix1 and
Matrix2.
The number of columns in Matrix1 must
equal the number of rows in Matrix2.
Symbols 211
• (multiply) r key
Expr •List1 ⇒ list
List1•Expr ⇒ list
Returns a list containing the products of
Expr and each element in List1.
⁄ (divide) p key
Expr1 ⁄ Expr2 ⇒ expression
Returns the quotient of Expr1 divided by
Expr2.
Note: See also Fraction template, page 1.
List1 ⁄ List2 ⇒ list
Returns a list containing the quotients of
List1 divided by List2.
Dimensions of the lists must be equal.
Expr ⁄ List1 ⇒ list
List1 ⁄ Expr ⇒ list
Returns a list containing the quotients of
Expr divided by List1 orList1 divided by
Expr.
Matrix1 ⁄ Expr ⇒ matrix
Returns a matrix containing the quotients
of Matrix1 ⁄ Expr.
212 Symbols
⁄ (divide) p key
Note: Use . ⁄ (dot divide) to divide an
expression by each element.
^ (power) l key
Expr1 ^ Expr2⇒ expression
List1 ^ List2 ⇒ list
Symbols 213
x2 (square) q key
Expr12⇒ expression
Returns the square of the argument.
List12 ⇒ list
Returns a list containing the squares of the
elements in List1.
squareMatrix12 ⇒ matrix
Returns the matrix square of
squareMatrix1. This is not the same as
calculating the square of each element. Use
.^2 to calculate the square of each element.
214 Symbols
. •(dot mult.) ^r keys
Matrix1 .• Matrix2⇒ matrix
Expr .• Matrix1 ⇒ matrix
Matrix1.• Matrix2 returns a matrix that is
the product of each pair of corresponding
elements in Matrix1 and Matrix2.
Expr .• Matrix1 returns a matrix
containing the products of Expr and each
element in Matrix1.
− (negate) v key
−Expr1 ⇒ expression
−List1 ⇒ list
−Matrix1 ⇒ matrix
Symbols 215
− (negate) v key
Returns the negation of the argument.
In Bin base mode:
For a list or matrix, returns all the elements
Important: Zero, not the letter O.
negated.
If the argument is a binary or hexadecimal
integer, the negation gives the two’s
complement.
To see the entire result,
press 5 and then use 7 and 8 to move the
cursor.
% (percent) /k keys
Expr1% ⇒ expression Note: To force an approximate result,
Returns
For a list or matrix, returns a list or matrix
with each element divided by 100.
= (equal) = key
Expr1=Expr2 ⇒ Boolean expression Example function that uses math test
symbols: =, ≠, <, ≤, >, ≥
List1=List2 ⇒ Boolean list
Matrix1=Matrix2 ⇒ Boolean matrix
Returns true if Expr1 is determined to be
equal to Expr2.
Returns false if Expr1 is determined to not
be equal to Expr2.
Anything else returns a simplified form of
the equation.
For lists and matrices, returns comparisons
element by element.
216 Symbols
= (equal) = key
Note for entering the example: For Result of graphing g(x)
instructions on entering multi-line program
and function definitions, refer to the
Calculator section of your product
guidebook.
Symbols 217
< (less than) /= keys
Returns false if Expr1 is determined to be
greater than or equal to Expr2.
Anything else returns a simplified form of
the equation.
For lists and matrices, returns comparisons
element by element.
218 Symbols
> (greater than) /= keys
For lists and matrices, returns comparisons
element by element.
Symbols 219
⇔ (logical double implication, XNOR) /= keys
BooleanExpr1 ⇔ BooleanExpr2 returns
Boolean expression
BooleanList1 ⇔ BooleanList2 returns
Boolean list
BooleanMatrix1 ⇔ BooleanMatrix2
returns Boolean matrix
Integer1 ⇔ Integer2 returns Integer
Returns the negation of an XOR Boolean
operation on the two arguments. Returns
true, false, or a simplified form of the
equation.
For lists and matrices, returns comparisons
element by element.
Note: You can insert this operator from the
keyboard by typing <=>
! (factorial) º key
Expr1! ⇒ expression
List1! ⇒ list
Matrix1! ⇒ matrix
Returns the factorial of the argument.
For a list or matrix, returns a list or matrix
of factorials of the elements.
220 Symbols
d() (derivative) Catalog >
d(Expr1, Var[, Order]) ⇒ expression
d(List1, Var[, Order]) ⇒ list
d(Matrix1,Var[, Order]) ⇒ matrix
Returns the first derivative of the first
argument with respect to variable Var.
Order, if included, must be an integer. If
the order is less than zero, the result will be
an anti-derivative.
Note: You can insert this function from the
keyboard by typing derivative(...).
d() does not follow the normal evaluation
mechanism of fully simplifying its
arguments and then applying the function
definition to these fully simplified
arguments. Instead, d() performs the
following steps:
1. Simplify the second argument only to
the extent that it does not lead to a
non-variable.
2. Simplify the first argument only to the
extent that it does recall any stored
value for the variable determined by
step 1.
3. Determine the symbolic derivative of
the result of step 2 with respect to the
variable from step 1.
If the variable from step 1 has a stored
value or a value specified by the constraint
(“|”) operator, substitute that value into
the result from step 3.
Note: See also First derivative, page 5;
Second derivative, page 6; or
Nth derivative, page 6.
Symbols 221
∫() (integral) Catalog >
Returns the integral of Expr1 with respect
to the variable Var from Lower to Upper.
Note: See also Definite or Indefinite integral
template, page 6.
Note: You can insert this function from the
keyboard by typing integral(...).
If Lower and Upper are omitted, returns an
anti-derivative. A symbolic constant of
integration is omitted unless you provide
the Constant argument.
222 Symbols
∫() (integral) Catalog >
Symbols 223
Π() (prodSeq) Catalog >
Π(Expr1, Var, Low, Low−1) ⇒ 1
Π(Expr1, Var, Low, High) ⇒ 1/Π(Expr1,
Var, High+1, Low−1) if High < Low−1
224 Symbols
ΣInt() Catalog >
ΣInt(NPmt1, NPmt2, N, I, PV ,[Pmt ], [FV],
[PpY], [CpY], [PmtAt ], [roundValue ])
⇒ value
ΣInt(NPmt1,NPmt2,amortTable ) ⇒ value
Amortization function that calculates the
sum of the interest during a specified range
of payments.
NPmt1 and NPmt2 define the start and end
boundaries of the payment range.
N, I, PV, Pmt , FV, PpY, CpY, and PmtAt
are described in the table of TVM
arguments, page 195.
• If you omit Pmt , it defaults to
Pmt =tvmPmt
( N,I,PV,FV,PpY,CpY,PmtAt ).
• If you omit FV, it defaults to FV=0.
• The defaults for PpY, CpY, and PmtAt
are the same as for the TVM functions.
roundValue specifies the number of
decimal places for rounding. Default=2.
ΣInt( NPmt1,NPmt2,amortTable ) calculates
the sum of the interest based on
amortization table amortTable . The
amortTable argument must be a matrix in
the form described under amortTbl() , page
8.
Note: See also ΣPrn(), below, and Bal() ,
page 17.
Symbols 225
ΣPrn() Catalog >
NPmt1 and NPmt2 define the start and end
boundaries of the payment range.
N, I, PV, Pmt , FV, PpY, CpY, and PmtAt
are described in the table of TVM
arguments, page 195.
• If you omit Pmt , it defaults to
Pmt =tvmPmt
( N,I,PV,FV,PpY,CpY,PmtAt ).
• If you omit FV, it defaults to FV=0.
• The defaults for PpY, CpY, and PmtAt
are the same as for the TVM functions.
roundValue specifies the number of
decimal places for rounding. Default=2.
ΣPrn( NPmt1,NPmt2,amortTable )
calculates the sum of the principal paid
based on amortization table amortTable .
The amortTable argument must be a
matrix in the form described under
amortTbl() , page 8.
Note: See also ΣInt(), above, and Bal() ,
page 17.
# (indirection) /k keys
# varNameString
Refers to the variable whose name is
Creates or refers to the variable xyz .
varNameString. This lets you use strings to
create variable names from within a
function.
226 Symbols
E (scientific notation) i key
mantissaEexponent
Enters a number in scientific notation. The
number is interpreted as
mantissa × 10exponent.
Hint: If you want to enter a power of 10
without causing a decimal value result, use
10^integer.
Note: You can insert this operator from the
computer keyboard by typing @E. for
example, type 2.3@E4 to enter 2.3E 4.
g (gradian) ¹ key
Expr1g ⇒ expression In Degree, Gradian or Radian mode:
List1g ⇒ list
Matrix1g ⇒ matrix
r(radian) ¹ key
Expr1r ⇒ expression In Degree, Gradian or Radian angle mode:
List1r ⇒ list
Matrix1r ⇒ matrix
Symbols 227
r(radian) ¹ key
This function gives you a way to specify a
radian angle while in Degree or Gradian
mode.
In Degree angle mode, multiplies the
argument by 180/ π.
In Radian angle mode, returns the
argument unchanged.
In Gradian mode, multiplies the argument
by 200/ π.
Hint: Use r if you want to force radians in a
function definition regardless of the mode
that prevails when the function is used.
Note: You can insert this symbol from the
computer keyboard by typing @r.
° (degree) ¹ key
Expr1° ⇒ expression In Degree, Gradian or Radian angle mode:
List1° ⇒ list
Matrix1° ⇒ matrix
This function gives you a way to specify a In Radian angle mode:
degree angle while in Gradian or Radian Note: To force an approximate result,
mode.
Handheld: Press / ·.
In Radian angle mode, multiplies the
Windows®: Press Ctrl+Enter .
argument by π/180.
Macintosh®: Press “+Enter .
In Degree angle mode, returns the iPad®: Hold enter , and select .
argument unchanged.
In Gradian angle mode, multiplies the
argument by 10/9.
Note: You can insert this symbol from the
computer keyboard by typing @d.
228 Symbols
°, ', '' (degree/minute/second) /k keys
dd A positive or negative number
mm A non-negative number
ss.ss A non-negative number
Returns dd+( mm/60)+( ss.ss/3600).
This base-60 entry format lets you:
• Enter an angle in
degrees/minutes/seconds without regard
to the current angle mode.
• Enter time as hours/minutes/seconds.
Note: Follow ss.ss with two apostrophes
(''), not a quote symbol (").
∠ (angle) /k keys
[Radius,∠ θ_Angle ] ⇒ vector In Radian mode and vector format set to:
(polar input) rectangular
Handheld: Press / ·.
Windows®: Press Ctrl+Enter .
Macintosh®: Press “+Enter .
iPad®: Hold enter , and select .
Symbols 229
∠ (angle) /k keys
230 Symbols
► (convert) /k keys
Expr_Unit1►_Unit2 ⇒ Expr_Unit2
Converts an expression from one unit to
another.
The _ underscore character designates the
units. The units must be in the same
category, such as Length or Area.
For a list of pre-defined units, open the
Catalog and display the Unit Conversions
tab:
• You can select a unit name from the list.
• You can select the conversion operator,
►, from the top of the list.
You can also type unit names manually. To
type “_” when typing unit names on the
handheld, press /_.
Note: To convert temperature units, use
tmpCnv() and ΔtmpCnv() . The ► conversion
operator does not handle temperature
units.
Symbols 231
^ ⁻¹ (reciprocal) Catalog >
Expr1 ^⁻¹ ⇒ expression
List1 ^⁻¹ ⇒ list
Returns the reciprocal of the argument.
For a list, returns the reciprocals of the
elements in List1.
squareMatrix1 ^⁻¹ ⇒ squareMatrix
Returns the inverse of squareMatrix1.
squareMatrix1 must be a non-singular
square matrix.
232 Symbols
| (constraint operator) /k keys
Interval constraints take the form of one or
more inequalities joined by logical “and” or
“or” operators. Interval constraints also
permit simplification that otherwise might
be invalid or not computable.
→ (store) /h key
Expr → Var
List → Var
Matrix → Var
Expr → Function(Param1,...)
List → Function(Param1,...)
Matrix → Function(Param1,...)
If the variable Var does not exist, creates it
and initializes it to Expr, List , or Matrix .
If the variable Var already exists and is not
locked or protected, replaces its contents
with Expr, List , or Matrix .
Symbols 233
→ (store) /h key
Hint: If you plan to do symbolic
computations using undefined variables,
avoid storing anything into commonly used,
one-letter variables such as a, b, c, x, y, z,
and so on.
Note: You can insert this operator from the
keyboard by typing =: as a shortcut. For
example, type pi/4 =: myvar.
:= (assign) /t keys
Var := Expr
Var := List
Var := Matrix
Function(Param1,...) := Expr
Function(Param1,...) := List
Function(Param1,...) := Matrix
If variable Var does not exist, creates Var
and initializes it to Expr, List , or Matrix .
If Var already exists and is not locked or
protected, replaces its contents with Expr,
List , or Matrix .
Hint: If you plan to do symbolic
computations using undefined variables,
avoid storing anything into commonly used,
one-letter variables such as a, b, c, x, y, z,
and so on.
234 Symbols
© (comment) /k keys
© [text ]
© processes text as a comment line,
allowing you to annotate functions and
programs that you create.
© can be at the beginning or anywhere in
the line. Everything to the right of © , to the
end of the line, is the comment.
Note for entering the example: For
instructions on entering multi-line program
and function definitions, refer to the
Calculator section of your product
guidebook.
Symbols 235
TI-Nspire™ CX II - Draw Commands
This is a supplemental document for the TI-Nspire™ Reference Guide and the TI-
Nspire™ CAS Reference Guide. All TI-Nspire™ CX II commands will be incorporated and
published in version 5.1 of the TI-Nspire™ Reference Guide and the TI-Nspire™ CAS
Reference Guide.
Graphics Programming
New commands have been added on TI-Nspire™ CX II Handhelds and TI-Nspire™
desktop applications for graphics programming.
The TI-Nspire™ CX II Handhelds will switch into this graphics mode while executing
graphics commands and switch back to the context in which the program was executed
after completion of the program.
The screen will display “Running…” in the top bar while the program is being executed.
It will show “Finished” when the program completes. Any key-press will transition the
system out of the graphics mode.
• The transition to graphics mode is triggered automatically when one of the Draw
(graphics) commands is encountered during execution of the TI Basic program.
• This transition will only happen when executing a program from calculator; in a
document or calculator in scratchpad.
• The transition out of graphics mode happens upon termination of the program.
• The graphics mode is only available on the TI-Nspire™ CX II Handhelds and the
desktop TI-Nspire™ CX II Handhelds view. This means it is not available in the
computer document view or PublishView (.tnsp) on the desktop nor on iOS.
- If a graphics command is encountered while executing a TI Basic program from
the incorrect context, an error message is displayed and the TI Basic program is
terminated.
Graphics Screen
The graphics screen will contain a header at the top of the screen that cannot be
written to by graphics commands.
The graphics screen drawing area will be cleared (color = 255,255,255) when the
graphics screen is initialized.
Graphics Default
Screen
Height 212
Width 318
Color white: 255,255,255
The commands that print text to the calculator - disp and dispAt - will be supported
commands in the graphics context. The text from these commands will be sent to the
Calculator screen (not on Graphics) and will be visible after the program exits and the
system switches back to the Calculator app
x , y : coordinate of center
radius: radius of the circle
x , y : coordinate of center
Draw and fill a circle at the specified center
with the specified radius.
Default fill color is black. The fill color can be
set by the SetColor command.
Here!
or ylist:={10,20,150,10}
FillPoly xlist,ylist
FillPoly x1, y1, x2, y2, x3, y3...xn, yn
Note: The line and color are specified by
SetColor and SetPen
FillPoly 0,10,200,20,150,150,0,10
To enter a negative number, press v followed by the number. Post operations and
exponentiation are performed before negation. For example, the result of −x2 is a
negative number, and −92 = −81. Use parentheses to square a negative number such
as ( −9) 2 to produce 81.
Constraint (“|”)
The argument following the constraint (“|”) operator provides a set of constraints that
affect the evaluation of the argument preceding the operator.
Code fragments that are copied and pasted will retain the original indentation.
Opening a program created in an earlier version of the software will retain the original
indentation.
Error in condition statement (If/While) A conditional statement did not resolve to TRUE
or FALSE
NOTE: With the change to place the cursor on
the line with the error, we no longer need to
specify if the error is in an "If" statement or a
"While" statement.
When “Then”, “Else” and “ElseIf” were Else invalid outside of blocks: If..Then..EndIf or
encountered outside of control blocks Try..EndTry
"Then” appears outside of “If....EndIf” block Then invalid outside of block: If..EndIf
Syntax Errors
In case commands that expect one or more arguments are called with an incomplete
list of arguments, a “Too few argument error” will be issued instead of “syntax” error
Note: When an incomplete list of arguments is not followed by a comma, the error
message is: “too few arguments”. This is the same as previous releases.
Error
Description
code
10 A function did not return a value
Generally, undefined variables cannot be compared. For example, the test If a<b will cause
this error if either a or b is undefined when the If statement is executed.
40 Argument error
50 Argument mismatch
170 Bound
The lower bound must be less than the upper bound to define the search interval.
The d or c key was pressed during a long calculation or during program execution.
This message is displayed to avoid running out of memory during infinite replacement of
variable values during simplification. For example, a+1->a, where a is an undefined variable,
will cause this error.
For example, solve(3x^2-4=0,x) | x<0 or x>5 would produce this error message because the
constraint is separated by “or” instead of “and.”
230 Dimension
A list or matrix index is not valid. For example, if the list {1,2,3,4} is stored in L1, then L1[5] is a
dimension error because L1 only contains four elements.
Two or more arguments must be of the same dimension. For example, [1,2]+[1,2,3] is a
dimension mismatch because the matrices contain a different number of elements.
310 The first argument of nSolve must be an equation in a single variable. It cannot contain a non-
valued variable other than the variable of interest.
For example, solve(3x^2-4,x) is invalid because the first argument is not an equation.
Either the previous calculation did not create Ans, or no previous calculation was entered.
For example, x(x+1) is invalid; whereas, x*(x+1) is the correct syntax. This is to avoid
confusion between implied multiplication and function calls.
A number of commands are not valid outside a function or program. For example, Local
cannot be used unless it is in a function or program.
For example, the Exit command is valid only inside these loop blocks.
A transmission between two units was not completed. Verify that the connecting cable is
connected firmly to both ends.
680 Missing (
690 Missing )
700 Missing “
710 Missing ]
720 Missing }
830 Overflow
A program reference inside another program could not be found in the provided path during
execution.
965 Unlicensed OS
Make sure that the name does not exceed the length limitations
1010 Zoom
1040 Unsupported function. This function requires Computer Algebra System. Try TI-Nspire™
CAS.
1045 Unsupported operator. This operator requires Computer Algebra System. Try TI-Nspire™
CAS.
1050 Unsupported feature. This operator requires Computer Algebra System. Try TI-Nspire™
CAS.
1060 Input argument must be numeric. Only inputs containing numeric values are allowed.
To allow complex results, change the “Real or Complex” Mode Setting to RECTANGULAR or
POLAR.
The first argument must be a polynomial expression in the second argument. If the second
argument is omitted, the software attempts to select a default.
The first two arguments must be polynomial expressions in the third argument. If the third
argument is omitted, the software attempts to select a default.
3x+7y=5
2y-5x=-1
The first argument of nfMin or nfMax must be an expression in a single variable. It cannot
contain a non-valued variable other than the variable of interest.
Warning
code Message
10000 Operation might introduce false solutions.
10007 More solutions may exist. Try specifying appropriate lower and upper bounds and/or a
guess.
10009 Domain of the result might be larger than the domain of the input.
10026 Constraint might be ignored. Specify constraint in the form "\" 'Variable MathTestSymbol
Constant' or a conjunct of these forms, for example 'x<3 and x>-12'
Contact TI Support
education.ti.com/ti-cares
Select your country for technical and other support resources.
_
-
_, unit designation 230
-, subtract 210
|
!
|, constraint operator 232
!, factorial 220
′
"
′ minute notation 228
", second notation 228 ′, prime 230
# +
#, indirection 226 +, add 210
#, indirection operator 256
=
%
≠, not equal 217
%, percent 216 ≤, less than or equal 218
≥, greater than or equal 219
& >, greater than 218
&, append =, equal 216
220
* ∏
. ∑
Index 272
► 1
►, convert units 231 10^( ), power of ten 231
►approxFraction( ) 13
►Base10, display as decimal integer 18 2
►Base16, display as hexadecimal 19 2-sample F Test 75
►Base2, display as binary 17
►cos, display in terms of cosine 29 A
►Cylind, display as cylindrical vector 42
►DD, display as decimal angle abs( ), absolute value 8
45
►Decimal, display result as decimal absolute value
45
template for 3-4
►DMS, display as
add, + 210
degree/minute/second 54
►exp, display in terms of e amortization table, amortTbl( ) 8, 17
63
►Grad, convert to gradian angle amortTbl( ), amortization table 8, 17
86
►Polar, display as polar vector and, Boolean operator 9
133
►Rad, convert to radian angle angle( ), angle 10
143
►Rect, display as rectangular vector angle, angle( ) 10
146
►sin, display in terms of sine ANOVA, one-way variance analysis 10
166
►Sphere, display as spherical vector ANOVA2way, two-way variance
175
analysis 11
⇒ Ans, last answer 13
answer (last), Ans 13
⇒ , logical implication 219, 253 append, & 220
approx( ), approximate 13-14
→
approximate, approx( ) 13-14
→, store variable 233 approxRational( ) 14
arc length, arcLen( ) 15
⇔ arccos(), cos⁻¹() 14
arccosh(), cosh⁻¹() 14
⇔ , logical double implication 220, 253
arccot(), cot⁻¹() 14
© arccoth(), coth⁻¹() 14
arccsc(), csc⁻¹() 14
©, comment 235 arccsch(), csch⁻¹() 14
arcLen( ), arc length 15
°
arcsec(), sec⁻¹() 15
°, degree notation 228 arcsech(), csech⁻¹() 15
°, degrees/minutes/seconds 228 arcsin(), sin⁻¹() 15
arcsinh(), sinh⁻¹() 15
0 arctan(), tan⁻¹() 15
arctanh(), tanh⁻¹() 15
0b, binary indicator 235
arguments in TVM functions 195
0h, hexadecimal indicator 235
augment( ), augment/concatenate 15
augment/concatenate, augment( ) 15
273 Index
average rate of change, avgRC( ) 16 comment, © 235
avgRC( ), average rate of change 16 common denominator, comDenom
( ) 26
B completeSquare( ), complete square 27
complex
binary conjugate, conj( ) 28
display, ►Base2 17 factor, cFactor( ) 21
indicator, 0b 235 solve, cSolve( ) 38
binomCdf( ) 20, 92 zeros, cZeros( ) 43
binomPdf( ) 20 conj( ), complex conjugate 28
Boolean operators
constant
⇒ 219, 253 in solve( ) 171
⇔ 220 constants
and 9 in cSolve( ) 39
nand 119 in cZeros( ) 44
nor 123 in deSolve( ) 49
not 125 in solve( ) 173
or 129 in zeros( ) 203
xor 201 shortcuts for 253
constraint operator "|" 232
C
constraint operator, order of
Cdf( ) 68 evaluation 255
ceiling( ), ceiling 20 construct matrix, constructMat( ) 28
ceiling, ceiling( ) 20-21, 36 constructMat( ), construct matrix 28
centralDiff( ) 21 convert
cFactor( ), complex factor ►Grad 86
21
char( ), character string ►Rad 143
22
character string, char( ) units 231
22
characters copy variable or function, CopyVar 29
numeric code, ord( ) 130 correlation matrix, corrMat( ) 29
string, char( ) 22 corrMat( ), correlation matrix 29
charPoly( ) 23 cos⁻¹, arccosine 31
χ²2way 23 cos( ), cosine 30
clear cosh⁻¹( ), hyperbolic arccosine 32
error, ClrErr 25 cosh( ), hyperbolic cosine 32
Clear 239 cosine
ClearAZ 25 display expression in terms of 29
ClrErr, clear error 25 cosine, cos( ) 30
colAugment 26 cot⁻¹( ), arccotangent 33
colDim( ), matrix column dimension 26 cot( ), cotangent 33
colNorm( ), matrix column norm 26 cotangent, cot( ) 33
combinations, nCr( ) 120 coth⁻¹( ), hyperbolic arccotangent 34
comDenom( ), common coth( ), hyperbolic cotangent 34
denominator 26 count days between dates, dbd( ) 44
Index 274
count items in a list conditionally , delete
countif( ) 35 void elements from list 49
count items in a list, count( ) 34 deleting
count( ), count items in a list 34 variable, DelVar 48
countif( ), conditionally count items deltaList() 48
in a list 35 deltaTmpCnv() 48
cPolyRoots() 36 DelVar, delete variable 48
cross product, crossP( ) 36 delVoid( ), remove void elements 49
crossP( ), cross product 36 denominator 26
csc⁻¹( ), inverse cosecant 37 derivative or nth derivative
csc( ), cosecant 36 template for 6
csch⁻¹( ), inverse hyperbolic cosecant 37 derivative() 49
csch( ), hyperbolic cosecant 37 derivatives
cSolve( ), complex solve 38 first derivative, d( ) 221
cubic regression, CubicReg 40 numeric derivative, nDeriv( ) 121-122
CubicReg, cubic regression 40 numeric derivative, nDerivative(
cumulative sum, cumulativeSum( ) 41 ) 121
cumulativeSum( ), cumulative sum deSolve( ), solution 49
41
cycle, Cycle det( ), matrix determinant 51
42
Cycle, cycle diag( ), matrix diagonal 51
42
cylindrical vector display, ►Cylind dim( ), dimension 52
42
cZeros( ), complex zeros dimension, dim( ) 52
43
Disp, display data 52, 158
D DispAt 52
display as
d( ), first derivative 221 binary, ►Base2 17
days between dates, dbd( ) 44 cylindrical vector, ►Cylind 42
dbd( ), days between dates 44 decimal angle, ►DD 45
decimal decimal integer, ►Base10 18
angle display, ►DD 45 degree/minute/second, ►DMS 54
integer display, ►Base10 18 hexadecimal, ►Base16 19
Define 46 polar vector, ►Polar 133
Define LibPriv 47 rectangular vector, ►Rect 146
Define LibPub 47 spherical vector, ►Sphere 175
define, Define 46 display data, Disp 52, 158
Define, define 46 distribution functions
defining binomCdf( ) 20, 92
private function or program 47 binomPdf( ) 20
public function or program 47 invNorm( ) 92
definite integral invt( ) 92
template for 6 Invχ²( ) 91
degree notation, ° 228 normCdf( ) 125
degree/minute/second display,
normPdf( ) 125
►DMS 54
degree/minute/second notation poissCdf( ) 132
228
275 Index
poissPdf( ) 132 if, EndIf 86
tCdf( ) 185 loop, EndLoop 110
tPdf( ) 190 program, EndPrgm 137
χ²2way( ) 23 try, EndTry 191
χ²Cdf( ) 24 while, EndWhile 201
χ²GOF( ) 24 end function, EndFunc 75
χ²Pdf( ) 24 end if, EndIf 86
divide, / 212 end loop, EndLoop 110
domain function, domain( ) 55 end while, EndWhile 201
domain( ), domain function 55 EndTry, end try 191
dominant term, dominantTerm( ) 55 EndWhile, end while 201
dominantTerm( ), dominant term 55 EOS (Equation Operating System) 255
dot equal, = 216
addition, .+ 214 Equation Operating System (EOS) 255
division, ./ 215 error codes and messages 261, 269
multiplication, .* 215 errors and troubleshooting
power, .^ 215 clear error, ClrErr 25
product, dotP( ) 57 pass error, PassErr 131
subtraction, .- 214 euler( ), Euler function 60
dotP( ), dot product 57 evaluate polynomial, polyEval( ) 135
draw 240-242 evaluation, order of 255
exact( ), exact 62
E exact, exact( ) 62
e exponent exclusion with "|" operator 232
template for 2 exit, Exit 63
e to a power, e^( ) 57, 63 Exit, exit 63
e, display expression in terms of 63 exp( ), e to a power 63
E, exponent 227 exp►list( ), expression to list 64
e^( ), e to a power 57 expand( ), expand 64
eff( ), convert nominal to effective expand, expand( ) 64
rate 58 exponent, E 227
effective rate, eff( ) 58 exponential regession, ExpReg 66
eigenvalue, eigVl( ) 59 exponents
eigenvector, eigVc( ) 58 template for 1
eigVc( ), eigenvector 58 expr( ), string to expression 65, 107
eigVl( ), eigenvalue 59 ExpReg, exponential regession 66
else if, ElseIf 59 expressions
else, Else expression to list, exp►list( ) 64
86
ElseIf, else if string to expression, expr( ) 65, 107
59
empty (void) elements 251 F
end
for, EndFor 72 factor( ), factor 67
function, EndFunc 75 factor, factor( ) 67
Index 276
factorial, ! 220 get/return
fill 243-244 denominator, getDenom( ) 78
Fill, matrix fill 69 number, getNum( ) 84
financial functions, tvmFV( ) 193 variables injformation,
financial functions, tvmI( ) 193 getVarInfo( ) 82, 85
financial functions, tvmN( ) getDenom( ), get/return
194
denominator 78
financial functions, tvmPmt( ) 194 getKey() 78
financial functions, tvmPV( ) 194 getLangInfo( ), get/return language
first derivative
information 82
template for 5 getLockInfo( ), tests lock status of
FiveNumSummary 69 variable or variable group 82
floor( ), floor 70 getMode( ), get mode settings 83
floor, floor( ) 70 getNum( ), get/return number 84
fMax( ), function maximum 70 GetStr 84
fMin( ), function minimum 71 getType( ), get type of variable 84
For 72 getVarInfo( ), get/return variables
for, For 72 information 85
For, for 72 go to, Goto 86
format string, format( ) 72 Goto, go to 86
format( ), format string 72 gradian notation, g 227
fpart( ), function part 73 greater than or equal, ≥ 219
fractions greater than, > 218
propFrac 139 greatest common divisor, gcd( ) 76
template for 1 groups, locking and unlocking 106, 197
freqTable( ) 73 groups, testing lock status 82
frequency( ) 74
Frobenius norm, norm( ) 124 H
Func, function 75 hexadecimal
Func, program function 75 display, ►Base16 19
functions indicator, 0h 235
maximum, fMax( ) 70 hyperbolic
minimum, fMin( ) 71 arccosine, cosh⁻¹( ) 32
part, fpart( ) 73 arcsine, sinh⁻¹( ) 168
program function, Func 75 arctangent, tanh⁻¹( ) 184
user-defined 46 cosine, cosh( ) 32
functions and variables sine, sinh( ) 168
copying 29 tangent, tanh( ) 184
G
I
g, gradians 227 identity matrix, identity( ) 86
gcd( ), greatest common divisor 76 identity( ), identity matrix 86
geomCdf( ) 76 if, If 86
geomPdf( ) 77 If, if 86
Get 77, 245
277 Index
ifFn( ) 88 less than or equal, ≤ 218
imag( ), imaginary part 88 LibPriv 47
imaginary part, imag( ) 88 LibPub 47
ImpDif( ), implicit derivative 89 library
implicit derivative, Impdif( ) 89 create shortcuts to objects 96
indefinite integral libShortcut( ), create shortcuts to
template for 6 library objects 96
indirection operator (#) 256 limit
indirection, # lim( ) 96
226
input, Input limit( ) 96
89
Input, input template for 6
89
inString( ), within string limit( ) or lim( ), limit 96
89
int( ), integer linear regression, LinRegAx 98
90
intDiv( ), integer divide linear regression, LinRegBx 97, 99
90
integer divide, intDiv( ) LinRegBx, linear regression 97
90
integer part, iPart( ) LinRegMx, linear regression 98
93
integer, int( ) LinRegtIntervals, linear regression 99
90
integral, ∫ LinRegtTest 101
221
interpolate( ), interpolate linSolve() 102
90
inverse cumulative normal Δlist( ), list difference 103
distribution (invNorm( ) 92 list to matrix, list►mat( ) 103
inverse, ^⁻¹ 232 list, conditionally count items in 35
invF( ) 91 list, count items in 34
invNorm( ), inverse cumulative list►mat( ), list to matrix 103
normal distribution) 92 lists
invt( ) 92 augment/concatenate,
Invχ²( ) 91 augment( ) 15
iPart( ), integer part cross product, crossP( ) 36
93
irr( ), internal rate of return cumulative sum,
internal rate of return, irr( ) 93 cumulativeSum( ) 41
isPrime( ), prime test differences in a list, Δlist( ) 103
93
isVoid( ), test for void dot product, dotP( ) 57
94
empty elements in 251
L expression to list, exp►list( ) 64
list to matrix, list►mat( ) 103
label, Lbl 95 matrix to list, mat►list( ) 111
language maximum, max( ) 111
get language information 82 mid-string, mid( ) 114
Lbl, label 95 minimum, min( ) 115
lcm, least common multiple 95 new, newList( ) 121
least common multiple, lcm 95 product, product( ) 138
left( ), left 95 sort ascending, SortA 174
left, left( ) 95 sort descending, SortD 175
length of string 52 summation, sum( ) 180
Index 278
ln( ), natural logarithm 103 lower-upper decomposition, LU 110
LnReg, logarithmic regression 104 matrix to list, mat►list( ) 111
local variable, Local 105 maximum, max( ) 111
local, Local 105 minimum, min( ) 115
Local, local variable 105 new, newMat( ) 121
Lock, lock variable or variable group 106 product, product( ) 138
locking variables and variable groups 106 QR factorization, QR 139
Log random, randMat( ) 145
template for 2 reduced row echelon form, rref(
logarithmic regression, LnReg 104 ) 156
logarithms 103 row addition, rowAdd( ) 155
logical double implication, ⇔ 220 row dimension, rowDim( ) 156
logical implication, ⇒ 219, 253 row echelon form, ref( ) 147
logistic regression, Logistic 107 row multiplication and addition,
logistic regression, LogisticD 108 mRowAdd( ) 116
Logistic, logistic regression row norm, rowNorm( ) 156
107
LogisticD, logistic regression row operation, mRow( ) 116
108
loop, Loop row swap, rowSwap( ) 156
110
Loop, loop submatrix, subMat( ) 180-181
110
LU, matrix lower-upper summation, sum( ) 180
decomposition 110 transpose, T 182
matrix (1 × 2)
M template for 4
matrix (2 × 1)
mat►list( ), matrix to list 111 template for 4
matrices matrix (2 × 2)
augment/concatenate, template for 4
augment( ) 15
matrix (m × n)
column dimension, colDim( ) 26 template for 4
column norm, colNorm( ) 26 matrix to list, mat►list( ) 111
cumulative sum,
max( ), maximum 111
cumulativeSum( ) 41
maximum, max( ) 111
determinant, det( ) 51
mean( ), mean 112
diagonal, diag( ) 51
mean, mean( ) 112
dimension, dim( ) 52
median( ), median 112
dot addition, .+ 214
median, median( ) 112
dot division, ./ 215
medium-medium line regression,
dot multiplication, .* 215
MedMed 113
dot power, .^ 215 MedMed, medium-medium line
dot subtraction, .- 214 regression 113
eigenvalue, eigVl( ) 59 mid-string, mid( ) 114
eigenvector, eigVc( ) 58 mid( ), mid-string 114
filling, Fill 69 min( ), minimum 115
identity, identity( ) 86 minimum, min( ) 115
list to matrix, list►mat( ) 103 minute notation, ′ 228
279 Index
mirr( ), modified internal rate of normalLine( ) 124
return 115 normCdf( ) 125
mixed fractions, using propFrac(› normPdf( ) 125
with 139 not equal, ≠ 217
mod( ), modulo 116 not, Boolean operator 125
mode settings, getMode( ) 83 nPr( ), permutations 126
modes
npv( ), net present value 126
setting, setMode( ) 162
nSolve( ), numeric solution 127
modified internal rate of return, mirr
nth root
( ) 115
template for 1
modulo, mod( ) 116
numeric
mRow( ), matrix row operation 116 derivative, nDeriv( ) 121-122
mRowAdd( ), matrix row
derivative, nDerivative( ) 121
multiplication and addition 116
Multiple linear regression t test integral, nInt( ) 122
118
multiply, * solution, nSolve( ) 127
211
MultReg 117 O
MultRegIntervals( ) 117
MultRegTests( ) 118 objects
create shortcuts to library 96
N one-variable statistics, OneVar 128
OneVar, one-variable statistics 128
nand, Boolean operator 119
operators
natural logarithm, ln( ) 103 order of evaluation 255
nCr( ), combinations 120 or (Boolean), or 129
nDerivative( ), numeric derivative 121 or, Boolean operator 129
negation, entering negative numbers 256 ord( ), numeric character code 130
net present value, npv( ) 126
new P
list, newList( ) 121
matrix, newMat( ) 121 P►Rx( ), rectangular x coordinate 130
newList( ), new list 121 P►Ry( ), rectangular y coordinate 131
newMat( ), new matrix 121 pass error, PassErr 131
nfMax( ), numeric function PassErr, pass error 131
maximum 121 Pdf( ) 73
nfMin( ), numeric function minimum 122 percent, % 216
nInt( ), numeric integral 122 permutations, nPr( ) 126
nom ), convert effective to nominal piecewise function (2-piece)
rate 123 template for 2
nominal rate, nom( ) 123 piecewise function (N-piece)
nor, Boolean operator 123 template for 3
norm( ), Frobenius norm 124 piecewise( ) 132
normal distribution probability, poissCdf( ) 132
normCdf( ) 125 poissPdf( ) 132
normal line, normalLine( ) 124
Index 280
polar QR, QR factorization 139
coordinate, R►Pr( ) 143 quadratic regression, QuadReg 140
coordinate, R►Pθ( ) 142 QuadReg, quadratic regression 140
vector display, ►Polar 133 quartic regression, QuartReg 141
polyCoef( ) 133 QuartReg, quartic regression 141
polyDegree( ) 134
polyEval( ), evaluate polynomial 135 R
polyGcd( ) 135-136 R, radian 227
polynomials
R►Pr( ), polar coordinate 143
evaluate, polyEval( ) 135
R►Pθ( ), polar coordinate 142
random, randPoly( ) 145
radian, R 227
PolyRoots() 136
rand( ), random number 143
power of ten, 10^( ) 231
randBin, random number 144
power regression,
PowerReg 136, 149, 151, 187 randInt( ), random integer 144
power, ^ 213 randMat( ), random matrix 145
PowerReg, power regression 136 randNorm( ), random norm 145
Prgm, define program 137 random
prime number test, isPrime( ) matrix, randMat( ) 145
93
prime, ′ norm, randNorm( ) 145
230
probability densiy, normPdf( ) number seed, RandSeed 146
125
prodSeq() polynomial, randPoly( ) 145
138
product( ), product random sample 145
138
product, ∏( ) randPoly( ), random polynomial 145
223
template for randSamp( ) 145
5
product, product( ) RandSeed, random number seed 146
138
programming real( ), real 146
define program, Prgm 137 real, real( ) 146
display data, Disp 52, 158 reciprocal, ^⁻¹ 232
pass error, PassErr 131 rectangular-vector display, ►Rect 146
programs rectangular x coordinate, P►Rx( ) 130
defining private library 47 rectangular y coordinate, P►Ry( ) 131
defining public library 47 reduced row echelon form, rref( ) 156
programs and programming ref( ), row echelon form 147
clear error, ClrErr 25 RefreshProbeVars 148
display I/O screen, Disp 52, 158 regressions
end program, EndPrgm 137 cubic, CubicReg 40
end try, EndTry 191 exponential, ExpReg 66
try, Try 191 linear regression, LinRegAx 98
proper fraction, propFrac 139 linear regression, LinRegBx 97, 99
propFrac, proper fraction 139 logarithmic, LnReg 104
Logistic 107
Q logistic, Logistic 108
medium-medium line, MedMed 113
QR factorization, QR 139
281 Index
MultReg 117 seqGen( ) 159
power regression, seqn( ) 160
PowerReg 136, 149, 151, 187 sequence, seq( ) 159-160
quadratic, QuadReg 140 series( ), series 161
quartic, QuartReg 141 series, series( ) 161
sinusoidal, SinReg 169 set
remain( ), remainder 149 mode, setMode( ) 162
remainder, remain( ) 149 setMode( ), set mode 162
remove settings, get current 83
void elements from list 49 shift( ), shift 163
Request 149 shift, shift( ) 163
RequestStr 151 sign( ), sign 165
result sign, sign( ) 165
display in terms of cosine 29 simult( ), simultaneous equations 165
display in terms of e 63 simultaneous equations, simult( ) 165
display in terms of sine 166 sin⁻¹( ), arcsine 167
result values, statistics 177 sin( ), sine 166
results, statistics 176 sine
return, Return 152 display expression in terms of 166
Return, return 152 sine, sin( ) 166
right( ), right 152 sinh⁻¹( ), hyperbolic arcsine 168
right, right( ) 27, 60, 90, 152 sinh( ), hyperbolic sine 168
rk23( ), Runge Kutta function 152 SinReg, sinusoidal regression 169
rotate( ), rotate 154 sinusoidal regression, SinReg 169
rotate, rotate( ) 154 solution, deSolve( ) 49
round( ), round 155 solve( ), solve 170
round, round( ) 155 solve, solve( ) 170
row echelon form, ref( ) 147 SortA, sort ascending 174
rowAdd( ), matrix row addition 155 SortD, sort descending 175
rowDim( ), matrix row dimension 156 sorting
rowNorm( ), matrix row norm 156 ascending, SortA 174
rowSwap( ), matrix row swap 156 descending, SortD 175
rref( ), reduced row echelon form 156 spherical vector display, ►Sphere 175
sqrt( ), square root 176
S square root
template for 1
sec⁻¹( ), inverse secant 157
square root, √( ) 176, 223
sec( ), secant 157
standard deviation, stdDev( ) 178, 198
sech⁻¹( ), inverse hyperbolic secant 158
stat.results 176
sech( ), hyperbolic secant 158
stat.values 177
second derivative
template for statistics
6
combinations, nCr( ) 120
second notation, " 228
factorial, ! 220
seq( ), sequence 159
mean, mean( ) 112
Index 282
median, median( ) 112 sum of principal payments 225
one-variable statistics, OneVar 128 sum( ), summation 180
permutations, nPr( ) 126 sum, ∑( ) 224
random norm, randNorm( ) 145 template for 5
random number seed, sumIf( ) 180
RandSeed 146 summation, sum( ) 180
standard deviation, stdDev( ) 178, 198 sumSeq() 181
two-variable results, TwoVar 195 system of equations (2-equation)
variance, variance( ) 198 template for 3
stdDevPop( ), population standard system of equations (N-equation)
deviation 178 template for 3
stdDevSamp( ), sample standard
deviation 178 T
Stop command 179
store variable (→) t test, tTest 192
233
storing T, transpose 182
symbol, & 234 tan⁻¹( ), arctangent 183
string tan( ), tangent 182
dimension, dim( ) 52 tangent line, tangentLine( ) 183
length 52 tangent, tan( ) 182
string( ), expression to string 179 tangentLine( ) 183
strings tanh⁻¹( ), hyperbolic arctangent 184
append, & 220 tanh( ), hyperbolic tangent 184
character code, ord( ) 130 Taylor polynomial, taylor( ) 185
character string, char( ) 22 taylor( ), Taylor polynomial 185
expression to string, string( ) 179 tCdf( ), studentt distribution
format, format( ) 72 probability 185
formatting 72 tCollect( ), trigonometric collection 186
indirection, # 226 templates
left, left( ) absolute value 3-4
95
mid-string, mid( ) definite integral 6
114
right, right( ) derivative or nth derivative 6
27, 60, 90, 152
rotate, rotate( ) e exponent 2
154
shift, shift( ) exponent 1
163
string to expression, expr( ) first derivative 5
65, 107
using to create variable names fraction 1
256
within, InString indefinite integral 6
89
student-t distribution probability, limit 6
tCdf( ) 185 Log 2
student-t probability density, tPdf( ) 190 matrix (1 × 2) 4
subMat( ), submatrix 180-181 matrix (2 × 1) 4
submatrix, subMat( ) 180-181 matrix (2 × 2) 4
substitution with "|" operator 232 matrix (m × n) 4
subtract, - 210 nth root 1
sum of interest payments 225 piecewise function (2-piece) 2
283 Index
piecewise function (N-piece) 3 unit vector, unitV( ) 197
product, ∏( ) 5 units
second derivative 6 convert 231
square root 1 unitV( ), unit vector 197
sum, ∑( ) 5 unLock, unlock variable or variable
system of equations (2- group 197
equation) 3 unlocking variables and variable
system of equations (N- groups 197
equation) 3 user-defined functions 46
test for void, isVoid( ) 94 user-defined functions and
Test_2S, 2-sample F test 75 programs 47
tExpand( ), trigonometric expansion 186 V
Text command 187
time value of money, Future Value 193 variable
time value of money, Interest 193 creating name from a character
time value of money, number of string 256
payments 194 variable and functions
time value of money, payment copying 29
amount 194 variables
time value of money, present value 194 clear all single-letter 25
tInterval, t confidence interval 187 delete, DelVar 48
tInterval_2Samp, twosample t local, Local 105
confidence interval 188 variables, locking and unlocking 82, 106, 197
ΔtmpCnv() 189 variance, variance( ) 198
tmpCnv() 189 varPop( ) 198
tPdf( ), student probability density 190 varSamp( ), sample variance 198
trace( ) 190 vectors
transpose, T 182 cross product, crossP( ) 36
trigonometric collection, tCollect( ) 186 cylindrical vector display,
trigonometric expansion, tExpand( ) 186 ►Cylind 42
Try, error handling command dot product, dotP( ) 57
191
tTest, t test unit, unitV( ) 197
192
tTest_2Samp, two-sample t test void elements 251
192
TVM arguments void elements, remove 49
195
tvmFV( ) void, test for 94
193
tvmI( ) 193 W
tvmN( ) 194
tvmPmt( ) 194 Wait command 199
tvmPV( ) 194 warnCodes( ), Warning codes 200
two-variable results, TwoVar 195 warning codes and messages 269
TwoVar, two-variable results 195 when( ), when 200
when, when( ) 200
U while, While 201
underscore, _ While, while 201
230
Index 284
with, | 232
within string, inString( ) 89
X
x², square 214
XNOR 220
xor, Boolean exclusive or 201
Z
zeroes( ), zeroes 202
zeroes, zeroes( ) 202
zInterval, z confidence interval 204
zInterval_1Prop, one-proportion z
confidence interval 205
zInterval_2Prop, two-proportion z
confidence interval 205
zInterval_2Samp, two-sample z
confidence interval 206
zTest 206
zTest_1Prop, one-proportion z test 207
zTest_2Prop, two-proportion z test 207
zTest_2Samp, two-sample z test 208
Χ
χ²Cdf( ) 24
χ²GOF 24
χ²Pdf( ) 24
285 Index