Texas Instruments TINSPIRE Reference Guide - Page 44

Catalog &gt, format, fPart, Block, Value, formatString, string, Expr1, expression, List1, Matrix1

Page 44 highlights

For 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: 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( ) format(Value[, formatString]) ⇒ string Returns Value 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( ) 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() 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. 38 TI-Nspire™ Reference Guide Catalog > Catalog > Catalog > Catalog >

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164

38
TI-Nspire™ Reference Guide
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:
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(
Value
[
, formatString
]
)
string
Returns
Value
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.
F
Pdf()
Catalog >
F
Pdf(
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
.