Texas Instruments TINSPIRE Reference Guide - Page 95

depVar, VarMax, VarStep, ListOfInitTerms, matrix, ListOfDepVars, ListOrSystemOfExpr, MatrixOfInitTerms

Page 95 highlights

seq( ) seq(Expr, Var, Low, High[, Step]) ⇒ list Increments Var from Low through High by an increment of Step, evaluates Expr, and returns the results as a list. The original contents of Var are still there after seq() is completed. The default value for Step = 1. Catalog > /· Press Ctrl+Enter (Macintosh®: "+Enter) to evaluate: seqGen( ) Catalog > seqGen(Expr, Var, depVar, {Var0, VarMax}[, ListOfInitTerms [, VarStep [, CeilingValue]]]) ⇒ list Generate the first 5 terms of the sequence u(n) = u(n-1)2/2, with u(1)=2 and VarStep=1. Generates a list of terms for sequence depVar(Var)=Expr as follows: Increments independent variable Var from Var0 through VarMax by VarStep, evaluates depVar(Var) for corresponding values of Var using the Expr formula and ListOfInitTerms, and returns the results as a list. seqGen(ListOrSystemOfExpr, Var, ListOfDepVars, {Var0, VarMax} [, MatrixOfInitTerms [, VarStep [, CeilingValue]]]) ⇒ matrix Generates a matrix of terms for a system (or list) of sequences ListOfDepVars(Var)=ListOrSystemOfExpr as follows: Increments independent variable Var from Var0 through VarMax by VarStep, evaluates ListOfDepVars(Var) for corresponding values of Var using ListOrSystemOfExpr formula and MatrixOfInitTerms, and returns the results as a matrix. Example in which Var0=2: The original contents of Var are unchanged after seqGen() is completed. The default value for VarStep = 1. System of two sequences: Note: The Void (_) in the initial term matrix above is used to indicate that the initial term for u1(n) is calculated using the explicit sequence formula u1(n)=1/n. TI-Nspire™ Reference Guide 89

  • 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

TI-Nspire™ Reference Guide
89
seq()
Catalog >
seq(
Expr
,
Var
,
Low
,
High
[
,
Step
]
)
list
Increments
Var
from
Low
through
High
by an increment of
Step
,
evaluates
Expr
, and returns the results as a list. The original contents
of
Var
are still there after
seq()
is completed.
The default value for
Step
=
1.
Press
Ctrl
+
Enter
(Macintosh®:
+
Enter
) to
evaluate:
seqGen()
Catalog >
seqGen(
Expr
,
Var
,
depVar
,
{
Var0
,
VarMax
}[
,
ListOfInitTerms
[
,
VarStep
[
,
CeilingValue
]]]
)
list
Generates a list of terms for sequence
depVar
(
Var
)=
Expr
as follows:
Increments independent variable
Var
from
Var0
through
VarMax
by
VarStep
, evaluates
depVar
(
Var
) for corresponding values of
Var
using the
Expr
formula and
ListOfInitTerms
, and returns the results
as a list.
seqGen(
ListOrSystemOfExpr
,
Var
,
ListOfDepVars
,
{
Var0
,
VarMax
}
[
,
MatrixOfInitTerms
[
,
VarStep
[
,
CeilingValue
]]]
)
matrix
Generates a matrix of terms for a system (or list) of sequences
ListOfDepVars
(
Var
)=
ListOrSystemOfExpr
as follows: Increments
independent variable
Var
from
Var0
through
VarMax
by
VarStep
,
evaluates
ListOfDepVars
(
Var
) for corresponding values of
Var
using
ListOrSystemOfExpr
formula and
MatrixOfInitTerms
, and returns
the results as a matrix.
The original contents of
Var
are unchanged after
seqGen()
is
completed.
The default value for
VarStep
=
1
.
Generate the first 5 terms of the sequence
u
(
n
) =
u
(
n
-1)
2
/2,
with
u
(1)=
2
and
VarStep
=
1
.
Example in which Var0=2:
System of two sequences:
Note: The Void (_) in the initial term matrix above is used to
indicate that the initial term for u1(n) is calculated using the
explicit sequence formula u1(n)=1/n.