38 TI-Nspire™ Reference Guide
For
Catalog
>
For Var , Low, High [, Step]
Block
EndFor
Executes the statements in Block iteratively for each value of Va r ,
from Low to High, in increments of Step.
Va r 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: In the Calculator application
on the handheld, you can enter multi-line definitions by pressing @
instead of · at the end of each line. On the computer keyboard,
hold down Alt and press Enter.
format()
Catalog
>
format(Val ue [, formatString]) ⇒ string
Returns Val u e as a character string based on the format template.
formatString is a string and must be in the form: “F[n]”, “S[n]”,
“E[n]”, “G[n][c]”, where [ ] indicate optional portions.
F[n]: Fixed format. n is the number of digits to display after the
decimal point.
S[n]: Scientific format. n is the number of digits to display after the
decimal point.
E[n]: Engineering format. n is the number of digits after the first
significant digit. The exponent is adjusted to a multiple of three, and
the decimal point is moved to the right by zero, one, or two digits.
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.
fPart()
Catalog
>
fPart(Expr1) ⇒ expression
fPart(List1) ⇒ list
fPart(Matrix1) ⇒ matrix
Returns the fractional part of the argument.
For a list or matrix, returns the fractional parts of the elements.
The argument can be a real or a complex number.
FPdf()
Catalog
>
FPdf(XVal,dfNumer,dfDenom) ⇒ number if XVal is a number,
list if XVal is a list
Computes the F distribution probability at XVal for the specified
dfNumer (degrees of freedom) and dfDenom.