Texas Instruments TINSPIRE Reference Guide - Page 95
depVar, VarMax, VarStep, ListOfInitTerms, matrix, ListOfDepVars, ListOrSystemOfExpr, MatrixOfInitTerms
View all Texas Instruments TINSPIRE manuals
Add to My Manuals
Save this manual to your list of manuals |
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