TI-Nspire™ Reference Guide This guidebook applies to TI-Nspire™ software version 4.5. To obtain the latest version of the documentation, go to education.ti.com/go/download.
Important Information Except as otherwise expressly stated in the License that accompanies a program, Texas Instruments makes no warranty, either express or implied, including but not limited to any implied warranties of merchantability and fitness for a particular purpose, regarding any programs or book materials and makes such materials available solely on an "as-is" basis.
Contents Important Information ii Expression Templates 1 Alphabetical Listing 7 A B C D E F G I L M N O P Q R S T U V W X Z 7 15 19 34 43 50 57 67 75 90 98 106 108 115 118 132 151 163 163 164 166 167 iii
Symbols 173 Empty (Void) Elements 196 Shortcuts for Entering Math Expressions 198 EOS™ (Equation Operating System) Hierarchy 200 Constants and Values 202 Error Codes and Messages 203 Warning Codes and Messages 211 Support and Service 213 Texas Instruments Support and Service Service and Warranty Information Index iv 213 213 214
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. /p keys Fraction template Example: Note: See also / (divide) , page 175.
/l keys Nth root template u keys e exponent template Example: Natural exponential e raised to a power Note: See also e^() , page 43. /s key Log template Example: Calculates log to a specified base. For a default of base 10, omit the base. Note: See also log() , page 86. Piecewise template (2-piece) Catalog > Example: Lets you create expressions and conditions for a two-piece piecewise function. To add a piece, click in the template and repeat the template. Note: See also piecewise() , page 110.
Piecewise template (N-piece) Catalog > Note: See also piecewise() , page 110. System of 2 equations template Catalog > Example: Creates a system of two linear equations. To add a row to an existing system, click in the template and repeat the template. Note: See also system() , page 150. System of N equations template Lets you create a system of N linear equations. Prompts for N. Catalog > Example: See the example for System of equations template (2-equation). Note: See also system() , page 150.
dd° mm’ss.ss’’ template Catalog > Example: Lets you enter angles in dd°mm’ss.ss ’’ format, where dd is the number of decimal degrees, mm is the number of minutes, and ss.ss is the number of seconds. Matrix template (2 x 2) Catalog > Example: Creates a 2 x 2 matrix. Matrix template (1 x 2) . Catalog > Example: Matrix template (2 x 1) Catalog > Example: Matrix template (m x n) The template appears after you are prompted to specify the number of rows and columns.
Matrix template (m x n) Catalog > Note: If you create a matrix with a large number of rows and columns, it may take a few moments to appear. Sum template (Σ) Catalog > Example: Note: See also Σ() ( sumSeq), page 186. Product template (Π) Catalog > Example: Note: See also Π() ( prodSeq), page 185. First derivative template Catalog > Example: The first derivative template can be used to calculate first derivative at a point numerically, using auto differentiation methods.
Second derivative template Catalog > The second derivative template can be used to calculate second derivative at a point numerically, using auto differentiation methods. Note: See also d() (derivative) , page 184. Definite integral template Catalog > Example: The definite integral template can be used to calculate the definite integral numerically, using the same method as nInt (). Note: See also nInt() , page 101.
Alphabetical Listing Items whose names are not alphabetic (such as +, !, and >) are listed at the end of this section, page 173. Unless otherwise specified, all examples in this section were performed in the default reset mode, and all variables are assumed to be undefined. A abs() Catalog > abs(Value1) ⇒ value abs(List1) ⇒ list abs(Matrix1) ⇒ matrix Returns the absolute value of the argument. Note: See also Absolute value template, page 3.
Catalog > amortTbl() 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 186, and bal() , page 15.
Catalog > angle() Returns the angle of the argument, interpreting the argument as a complex number. In Gradian angle mode: In Radian 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. ANOVA ANOVA List1,List2[,List3,...
Output variable Description stat.MSError Mean square for the errors stat.sp Pooled standard deviation stat.xbarlist Mean of the input of the lists stat.CLowerList 95% confidence intervals for the mean of each input list stat.CUpperList 95% confidence intervals for the mean of each input list ANOVA2way ANOVA2way List1,List2[,List3,…,List10] [,levRow] Catalog > Computes a two-way analysis of variance for comparing the means of two to 10 populations. A summary of results is stored in the stat.
Output variable Description stat.SSError Sum of squares of the errors stat.MSError Mean squares for the errors stat.s Standard deviation of the error COLUMN FACTOR Outputs Output variable Description stat. Fcol F statistic of the column factor stat.PValCol Probability value of the column factor stat.dfCol Degrees of freedom of the column factor stat.SSCol Sum of squares of the column factor stat.MSCol Mean squares for column factor ROW FACTOR Outputs Output variable Description stat.
Output variable Description stat.dfError Degrees of freedom of the errors stat.SSError Sum of squares of the errors stat.MSError Mean squares for the errors s Standard deviation of the error Ans /v keys Ans ⇒ value Returns the result of the most recently evaluated expression. approx() approx(Value1) ⇒ number Catalog > Returns the evaluation of the argument as an expression containing decimal values, when possible, regardless of the current Auto or Approximate mode.
►approxFraction() Catalog > Note: You can insert this function from the computer keyboard by typing @>approxFraction(...). approxRational() approxRational(Value [, Tol ]) ⇒ value Catalog > approxRational(List [, Tol ]) ⇒ list approxRational(Matrix [, Tol ]) ⇒ matrix Returns the argument as a fraction using a tolerance of Tol . If Tol is omitted, a tolerance of 5.E-14 is used. arccos() See cos⁻¹(), page 26. arccosh() See cosh⁻¹(), page 27. arccot() See cot ⁻¹(), page 28.
arcsec() See sec ⁻¹(), page 133. arcsech() See sech⁻¹(), page 133. arcsin() See sin⁻¹(), page 141. arcsinh() See sinh⁻¹(), page 142. arctan() See tan⁻¹(), page 152. arctanh() See tanh⁻¹(), page 153. augment() augment(List1, List2) ⇒ list 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.
avgRC() avgRC(Expr1, Var [=Value ] [, Step]) ⇒ expression Catalog > avgRC(Expr1, Var [=Value ] [, List1]) ⇒ list avgRC(List1, Var [=Value ] [, Step]) ⇒ list avgRC(Matrix1, Var [=Value ] [, Step]) ⇒ matrix Returns the forward-difference quotient (average rate of change). Expr1 can be a user-defined function name (see Func). 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.
bal() • • • Catalog > 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. bal( NPmt ,amortTable ) calculates the balance after payment number NPmt , based on amortization table amortTable . The amortTable argument must be a matrix in the form described under amortTbl() , page 7.
►Base2 Catalog > 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...
►Base16 Catalog > Converts Integer1 to a hexadecimal number. Binary or hexadecimal numbers 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 (base 10). The result is displayed in hexadecimal, regardless of the Base mode.
binomPdf() Catalog > Computes a probability for the discrete binomial distribution with n number of trials and probability p of success on each trial. C Catalog > ceiling(Value1) ⇒ value 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.
centralDiff() When using List1 or Matrix1, the operation Catalog > gets mapped across the values in the list or across the matrix elements. Note: See also avgRC() . char() char(Integer) ⇒ character Catalog > Returns a character string containing the character numbered Integer from the handheld character set. The valid range for Integer is 0–65535.
χ2Cdf() Catalog > 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 196.
χ2Pdf() Catalog > 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 196. ClearAZ Catalog > ClearAZ Clears all single-character variables in the current problem space. If one or more of the variables are locked, this command displays an error message and deletes only the unlocked variables. See unLock, page 163.
colAugment() colAugment(Matrix1, Matrix2) ⇒ matrix Catalog > 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. colDim() colDim(Matrix ) ⇒ expression Catalog > Returns the number of columns contained in Matrix . Note: See also rowDim() .
constructMat() Catalog > constructMat (Expr,Var1,Var2,numRows,numCols) ⇒ matrix Returns a matrix based on the arguments. Expr is an expression in variables Var1 and Var2. Elements in the resulting matrix are formed by evaluating Expr for each incremented value of Var1 and Var2. Var1 is automatically incremented from 1 through numRows. Within each row, Var2 is incremented from 1 through numCols. CopyVar CopyVar Var1, Var2 CopyVar Var1., Var2.
Catalog > corrMat() corrMat(List1,List2[,…[,List20]]) Computes the correlation matrix for the augmented matrix [List1, List2, ..., List20]. cos() cos(Value1) ⇒ value µ key In Degree angle mode: cos(List1) ⇒ list cos( Value1) returns the cosine of the argument as a value. cos( List1) returns a list of the cosines 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 setting.
µ key cos() Then A = X B X⁻¹ and f(A) = X f(B) X⁻¹. For example, cos(A) = X cos(B) X⁻¹ where: cos(B) = All computations are performed using floating-point arithmetic. µ key cos⁻¹() cos⁻¹(Value1) ⇒ value cos⁻¹(List1) ⇒ list cos ⁻¹( Value1) returns the angle whose cosine is Value1. In Degree angle mode: In Gradian angle mode: cos ⁻¹( List1) returns a list of the inverse cosines of each element of List1.
Catalog > cosh() cosh(Value1) ⇒ value cosh(List1) ⇒ list cosh( Value1) returns the hyperbolic cosine of the argument. cosh( List1) returns a list of the hyperbolic cosines of each element of List1. cosh(squareMatrix1) ⇒ squareMatrix In Radian angle mode: Returns the matrix hyperbolic cosine of squareMatrix1. This is not the same as calculating the hyperbolic cosine of each element. For information about the calculation method, refer to cos() . squareMatrix1 must be diagonalizable.
µ key cot() cot(Value1) ⇒ value cot(List1) ⇒ list Returns the cotangent of Value1 or returns a list of the cotangents of all elements in List1. In Degree angle mode: In Gradian angle mode: 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.
coth⁻¹() Catalog > coth⁻¹(Value1) ⇒ value coth⁻¹(List1) ⇒ list Returns the inverse hyperbolic cotangent of Value1 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(...). count() count(Value1orList1 [,Value2orList2 [,...]]) ⇒ value Catalog > Returns the accumulated count of all elements in the arguments that evaluate to numeric values. Each argument can be an expression, value, list, or matrix.
Catalog > countif() • example, 3 counts only those elements in List that simplify to the value 3. A Boolean expression containing the symbol ? as a placeholder for each element. For example, ?<5 counts only those elements in List that are less than 5. Counts the number of elements equal to “def.” Counts 1 and 3. Within the Lists & Spreadsheet application, you can use a range of cells in place of List . Empty (void) elements in the list are ignored. For more information on empty elements, see page 196.
Catalog > crossP() List1 and List2 must have equal dimension, and the dimension must be either 2 or 3. crossP(Vector1, Vector2) ⇒ vector Returns a row or column vector (depending on the arguments) that is the cross product of Vector1 and Vector2. Both Vector1 and Vector2 must be row vectors, or both must be column vectors. Both vectors must have equal dimension, and the dimension must be either 2 or 3.
csch() csch(Value1) ⇒ value Catalog > csch(List1) ⇒ list Returns the hyperbolic cosecant of Value1 or returns a list of the hyperbolic cosecants of all elements of List1. csch⁻¹() Catalog > csch⁻¹(Value ) ⇒ value csch⁻¹(List1) ⇒ list Returns the inverse hyperbolic cosecant of Value1 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(...).
CubicReg Include is a list of one or more of the Catalog > 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 196. Output variable Description stat.RegEqn Regression equation: a•x 3+b•x 2+c•x+d stat.a, stat.b, stat.c, stat.d Regression coefficients stat.R 2 Coefficient of determination stat.Resid Residuals from the regression stat.
Cycle Cycle Transfers control immediately to the next iteration of the current loop ( For, While, or Loop). Catalog > Function listing that sums the integers from 1 to 100 skipping 50. Cycle is not allowed outside the three looping structures ( For, While, or Loop). Note for entering the example: For instructions on entering multi-line program and function definitions, refer to the Calculator section of your product guidebook.
Catalog > dbd() 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) Catalog > ►DD Expr1 ►DD ⇒ valueList1 ►DD ⇒ listMatrix1 ►DD ⇒ matrix In Degree angle mode: Note: You can insert this operator from the computer keyboard by typing @>DD. Returns the decimal equivalent of the argument expressed in degrees.
Define Define Function(Param1, Param2, ...) = Expression Defines the variable Var or the userdefined function Function. Parameters, such as Param1, provide placeholders for passing arguments to the function. When calling a user-defined function, you must supply arguments (for example, values or variables) that correspond to the parameters. When called, the function evaluates Expression using the supplied arguments. Var and Function cannot be the name of a system variable or built-in function or command.
Define Catalog > Note: See also Define LibPriv, page 37, and Define LibPub, page 37. Define LibPriv Define LibPriv Var = Expression Define LibPriv Function(Param1, Param2, ...) = Expression Catalog > Define LibPriv Function(Param1, Param2, ...) = Func Block EndFunc Define LibPriv Program(Param1, Param2, ...) = Prgm Block EndPrgm Operates the same as Define, except defines a private library variable, function, or program. Private functions and programs do not appear in the Catalog.
Define LibPub Catalog > Note: See also Define, page 35, and Define LibPriv, page 37. deltaList() DelVar DelVar Var1[, Var2] [, Var3] ... See ΔList(), page 82. Catalog > DelVar Var. Deletes the specified variable or variable group from memory. If one or more of the variables are locked, this command displays an error message and deletes only the unlocked variables. See unLock, page 163. DelVar Var. deletes all members of the Var. variable group (such as the statistics stat .
det() det(squareMatrix [, Tolerance ]) ⇒ expression Catalog > Returns the determinant of squareMatrix . Optionally, any matrix element is treated as zero if its absolute value is less than Tolerance . 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, Tolerance is ignored. • • If you use /· or set the Auto or Approximate mode to Approximate, computations are done using floatingpoint arithmetic.
Catalog > dim() dim(String) ⇒ integer Returns the number of characters contained in character string String. Catalog > Disp Disp exprOrString1 [, exprOrString2] ... Displays the arguments in the Calculator history. The arguments are displayed in succession, with thin spaces as separators. Useful mainly in programs and functions to ensure the display of intermediate calculations.
Catalog > DispAt 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.
Catalog > DispAt Error conditions: Error Message Description DispAt line number must be between 1 and 8 Expression evaluates the line number outside the range 1-8 (inclusive) Too few arguments The function or command is missing one or more arguments. No arguments Same as current 'syntax error' dialog Too many arguments Limit argument. Same error as Disp. Invalid data type First argument must be a number.
dotP() dotP(List1, List2) ⇒ expression Catalog > Returns the “dot” product of two lists. dotP(Vector1, Vector2) ⇒ expression Returns the “dot” product of two vectors. Both must be row vectors, or both must be column vectors. E e^() u key e ^(Value1) ⇒ value Returns e raised to the Value1 power. Note: See also e exponent template, page 2. Note: Pressing u to display e^( is different from pressing the character E on the keyboard. You can enter a complex number in reiθ polar form.
eff() eff(nominalRate,CpY) ⇒ value Catalog > Financial function that converts the nominal interest rate nominalRate to an annual effective rate, given CpY as the number of compounding periods per year. nominalRate must be a real number, and CpY must be a real number > 0. Note: See also nom() , page 102.
Else ElseIf If BooleanExpr1 Then Block1 ElseIf BooleanExpr2 Then Block2 See If, page 67. Catalog > ⋮ ElseIf BooleanExprN Then BlockN EndIf ⋮ Note for entering the example: For instructions on entering multi-line program and function definitions, refer to the Calculator section of your product guidebook. EndFor EndFunc EndIf See For, page 53. See Func, page 57. See If, page 67. EndLoop See Loop, page 89. EndPrgm See Prgm, page 113. EndTry See Try, page 157.
EndWhile euler () euler(Expr, Var, depVar, {Var0, VarMax }, depVar0, VarStep [, eulerStep]) ⇒ matrix See While, page 166. Catalog > Differential equation: y'=0.001*y*(100-y) and y(0)=10 euler(SystemOfExpr, Var, ListOfDepVars, {Var0, VarMax }, ListOfDepVars0, VarStep [, eulerStep]) ⇒ matrix euler(ListOfExpr, Var, ListOfDepVars, {Var0, VarMax }, ListOfDepVars0, VarStep [, eulerStep]) ⇒ matrix Uses the Euler method to solve the system with depVar( Var0)=depVar0 on the interval [Var0,VarMax ].
Catalog > euler () VarStep is a nonzero number such that sign ( VarStep) = sign( VarMax -Var0) and solutions are returned at Var0+i•VarStep for all i =0,1,2,… such that Var0+i•VarStep is in [var0,VarMax ] (there may not be a solution value at VarMax ). eulerStep is a positive integer (defaults to 1) that defines the number of euler steps between output values. The actual step size used by the euler method is VarStep ⁄ eulerStep.
eval () Hub Menu Although eval() does not display its result, you can view the resulting Hub command string after executing the command by inspecting any of the following special variables. iostr.SendAns iostr.GetAns iostr.GetStrAns Note: See also Get (page 58), GetStr (page 65), and Send (page 134). Catalog > Exit Exit Function listing: Exits the current For, While, or Loop block. Exit is not allowed outside the three looping structures ( For, While, or Loop).
exp() exp(squareMatrix1) ⇒ squareMatrix 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. expr() expr(String) ⇒ expression Catalog > Returns the character string contained in String as an expression and immediately executes it.
ExpReg Include is a list of one or more of the Catalog > 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 196. Output variable Description stat.RegEqn Regression equation: a•(b)x stat.a, stat.b Regression coefficients stat.r 2 Coefficient of linear determination for transformed data stat.
factor() • • Catalog > press Enter repeatedly. Macintosh®: Hold down the F5 key and press Enter repeatedly. iPad®: The app displays a prompt. You can continue waiting or cancel. If you merely want to determine if a number is prime, use isPrime() instead. It is much faster, particularly if rationalNumber is not prime and if the second-largest factor has more than five digits.
Catalog > FiveNumSummary FiveNumSummary X[,[Freq] [,Category ,Include ]] Provides an abbreviated version of the 1variable statistics on list X. A summary of results is stored in the stat.results variable. (See page 145.) X represents a list containing the data. 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. Category is a list of numeric category codes for the corresponding X data.
floor() floor(List1) ⇒ list floor(Matrix1) ⇒ matrix Catalog > Returns a list or matrix of the floor of each element. Note: See also ceiling() and int() . 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.
format() Catalog > 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.
Catalog > freqTable►list() freqTable►list(List1,freqIntegerList ) ⇒ list Returns a list containing the elements from List1 expanded according to the frequencies in freqIntegerList . This function can be used for building a frequency table for the Data & Statistics application. List1 can be any valid list. freqIntegerList must have the same dimension as List1 and must contain nonnegative integer elements only.
frequency() Elements of List1 that cannot be “placed in Catalog > a bin” are ignored. Empty (void) elements are also ignored. For more information on empty elements, see page 196. Within the Lists & Spreadsheet application, you can use a range of cells in place of both arguments. Note: See also countIf() , page 29.
Output variable Description stat.x1_bar stat.x2_bar Sample means of the data sequences in List 1 and List 2 stat.n1, stat.n2 Size of the samples Catalog > Func Func Block EndFunc Define a piecewise function: Template for creating a user-defined function. 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.
gcd() gcd(Matrix1, Matrix2) ⇒ matrix Catalog > Returns the greatest common divisors of the corresponding elements in Matrix1 and Matrix2. geomCdf() geomCdf(p,lowBound,upBound) ⇒ number if lowBound and upBound are numbers, list if lowBound and upBound are lists Catalog > 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.
Get • Hub Menu By embedding a "READ ..." request as the optional promptString argument. This method lets you use a single command to request the value and retrieve it. 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.
Catalog > getKey() getKey([0|1]) ⇒ returnString Description:getKey() - allows a TI-Basic Example: program to get keyboard input handheld, desktop and emulator on desktop. Example: • 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.
Handheld Device/Emulator Key Desktop Return Value Del n/a "del" = = "=" trig n/a "trig" 0 through 9 0-9 "0" ... "9" 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" + + "+" - - "-" ( ( "(" ) ) ")" . . ".
Handheld Device/Emulator Key Desktop Return Value pi n/a "pi" Flag n/a no return , , "," Return n/a "return" Space Space " " (space) Inaccessible Special Character Keys like @,!,^, etc. The character is returned n/a Function Keys No returned character n/a Special desktop control keys No returned character Inaccessible Other desktop keys that are Same character you get in not available on the Notes (not in a math box) calculator while getkey() is waiting for a keystroke.
Event Device Desktop - TI-Nspire™ All Versions TI-Innovator™ Hub connect/disconnect Support - Can successfully issue commands to the TIInnovator™ Hub. After you exit the program the TIInnovator™ Hub is still working with the handheld. Same as the handheld getLangInfo() getLangInfo() ⇒ string Catalog > Returns a string that corresponds to the short name of the currently active language. You can, for example, use it in a program or function to determine the current language.
getMode() getMode(ModeNameInteger) ⇒ value Catalog > 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.
Catalog > getNum() getNum(Fraction1) ⇒ value Transforms the argument into an expression having a reduced common denominator, and then returns its numerator. GetStr GetStr [promptString,] var[, statusVar] Hub Menu For examples, see Get . GetStr [promptString,] func (arg1, ...argn) [, statusVar] Programming command: Operates identically to the Get command, except that the retrieved value is always interpreted as a string.
getVarInfo() 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.
Catalog > Goto 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. Catalog > ►Grad Expr1►Grad ⇒ expression In Degree angle mode: Converts Expr1 to gradian angle measure. Note: You can insert this operator from the computer keyboard by typing @>Grad.
Catalog > If 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.
Catalog > ifFn() ifFn( BooleanExpr,Value_If_true [,Value_ If_false [,Value_If_unknown]]) ⇒ expression, list, or matrix Evaluates the boolean expression BooleanExpr (or each element from BooleanExpr ) and produces a result based on the following rules: • • • • • Test value of 1 is less than 2.5, so its corresponding Value_If_True element of 5 is copied to the result list. BooleanExpr can test a single value, a list, or a matrix.
imag() imag(List1) ⇒ list Catalog > Returns a list of the imaginary parts of the elements. imag(Matrix1) ⇒ matrix Returns a matrix of the imaginary parts of the elements. Indirection inString() inString(srcString, subString[, Start ]) ⇒ integer See #(), page 188. Catalog > Returns the character position in string srcString at which the first occurrence of string subString begins. Start , if included, specifies the character position within srcString where the search begins.
Catalog > intDiv() intDiv(Number1, Number2) ⇒ integer intDiv(List1, List2) ⇒ list intDiv(Matrix1, Matrix2) ⇒ matrix Returns the signed integer part of ( Number1 ÷ Number2). For lists and matrices, returns the signed integer part of (argument 1 ÷ argument 2) for each element pair.
invF() invF(Area,dfNumer,dfDenom) Catalog > invF(Area,dfNumer,dfDenom) computes the Inverse cumulative F distribution function specified by dfNumer and dfDenom for a given Area under the curve. invBinom() invBinom (CumulativeProb,NumTrials,Prob, OutputForm)⇒ scalar or matrix Inverse binomial.
invNorm() invNorm(Area[,μ[,σ]]) Catalog > Computes the inverse cumulative normal distribution function for a given Area under the normal distribution curve specified by μ and σ. invt() invt(Area,df ) Catalog > Computes the inverse cumulative student-t probability function specified by degree of freedom, df for a given Area under the curve. iPart() iPart(Number) ⇒ integer iPart(List1) ⇒ list iPart(Matrix1) ⇒ matrix Catalog > Returns the integer part of the argument.
irr() CFFreq is an optional list in which each Catalog > element specifies the frequency of occurrence for a grouped (consecutive) cash flow amount, which is the corresponding element of CFList . The default is 1; if you enter values, they must be positive integers < 10,000. Note: See also mirr() , page 94. isPrime() isPrime(Number) ⇒ Boolean constant expression Returns true or false to indicate if number is a whole number ≥ 2 that is evenly divisible only by itself and 1.
L Lbl Catalog > Lbl labelName Defines a label with the name labelName within a function. You can use a Goto labelName instruction to transfer control to the instruction immediately following the label. labelName must meet the same naming requirements as a variable name. Note for entering the example: For instructions on entering multi-line program and function definitions, refer to the Calculator section of your product guidebook.
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. libShortcut() libShortcut(LibNameString, ShortcutNameString [, LibPrivFlag]) ⇒ list of variables Creates a variable group in the current problem that contains references to all the objects in the specified library document libNameString. Also adds the group members to the Variables menu.
LinRegBx Freq is an optional list of frequency values. Each element in Freq specifies the Catalog > 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 numeric or string 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.
LinRegMx X and Y are lists of independent and Catalog > 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 numeric or string category codes for the corresponding X and Y data. Include is a list of one or more of the category codes.
Catalog > LinRegtIntervals LinRegtIntervals X,Y[,F[,1,Xval [,CLev ]]] 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 145.) 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.
Output variable Description [stat.CLower, stat.CUpper] Confidence interval for the mean response stat.ME Confidence interval margin of error stat.SE Standard error of mean response [stat.LowerPred, stat.UpperPred] Prediction interval for a single observation stat.MEPred Prediction interval margin of error stat.SEPred Standard error for prediction stat.
Catalog > LinRegtTest For information on the effect of empty elements in a list, see “Empty (Void) Elements,” page 196. Output variable Description stat.RegEqn Regression equation: a + b•x stat.t t-Statistic for significance test stat.PVal Smallest level of significance at which the null hypothesis can be rejected stat.df Degrees of freedom stat.a, stat.b Regression coefficients stat.s Standard error about the line stat.SESlope Standard error of slope stat.
linSolve() Catalog > The first argument must evaluate to a system of linear equations or a single linear equation. Otherwise, an argument error occurs. For example, evaluating linSolve(x=1 and x=2,x) produces an “Argument Error” result. ΔList() Catalog > ΔList(List1) ⇒ list Note: You can insert this function from the keyboard by typing deltaList(...). Returns a list containing the differences between consecutive elements in List1. Each element of List1 is subtracted from the next element of List1.
ln() Returns the natural logarithm of the argument. /u keys If complex format mode is Real: For a list, returns the natural logarithms of the elements. If complex format mode is Rectangular: ln(squareMatrix1) ⇒ squareMatrix Returns the matrix natural logarithm of squareMatrix1. This is not the same as calculating the natural logarithm of each element. For information about the calculation method, refer to cos() on. squareMatrix1 must be diagonalizable. The result always contains floating-point numbers.
LnReg Category is a list of numeric or string category codes for the corresponding X and Y data. Catalog > 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 196. Output variable Description stat.RegEqn Regression equation: a+b•ln(x) stat.a, stat.b Regression coefficients stat.
Local Local Var1[, Var2] [, Var3] ... Catalog > Declares the specified vars as local variables. Those variables exist only during evaluation of a function and are deleted when the function finishes execution. Note: Local variables save memory because they only exist temporarily. Also, they do not disturb any existing global variable values.
log() log( Value1[,Value2]) ⇒ value /s keys log( List1[,Value2]) ⇒ list Returns the base-Value2 logarithm of the first argument. Note: See also Log template, page 2. If complex format mode is Real: For a list, returns the base-Value2 logarithm of the elements. If the second argument is omitted, 10 is used as the base.
Logistic X and Y are lists of independent and Catalog > 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 numeric or string category codes for the corresponding X and Y data. Include is a list of one or more of the category codes.
Catalog > LogisticD 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 numeric or string category codes for the corresponding X and Y data. Include is a list of one or more of the category codes.
Loop Catalog > Loop Block EndLoop Repeatedly executes the statements in Block . Note that the loop will be executed endlessly, unless a Goto or Exit instruction is executed within Block . Block is 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.
LU Catalog > The LU factorization algorithm uses partial pivoting with row interchanges. M mat ►list() mat►list(Matrix ) ⇒ list Catalog > Returns a list filled with the elements in Matrix . The elements are copied from Matrix row by row. Note: You can insert this function from the computer keyboard by typing mat@>list (...). max() max(Value1, Value2) ⇒ expression max(List1, List2) ⇒ list max(Matrix1, Matrix2) ⇒ matrix Returns the maximum of the two arguments.
mean() mean(List [, freqList ]) ⇒ expression Catalog > Returns the mean of the elements in List . Each freqList element counts the number of consecutive occurrences of the corresponding element in List . mean(Matrix1[, freqMatrix ]) ⇒ matrix In Rectangular vector format: Returns a row vector of the means of all the columns in Matrix1. Each freqMatrix element counts the number of consecutive occurrences of the corresponding element in Matrix1. Empty (void) elements are ignored.
MedMed MedMed X,Y [, Freq] [, Category , Include ]] Catalog > Computes the median-median line y = (m •x+b) on lists X and Y with frequency Freq. A summary of results is stored in the stat.results variable. (See page 145.) 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.
mid() mid(sourceString, Start [, Count ]) ⇒ string Catalog > Returns Count characters from character string sourceString, beginning with character number Start . If Count is omitted or is greater than the dimension of sourceString, returns all characters from sourceString, beginning with character number Start . Count must be ≥ 0. If Count = 0, returns an empty string. mid(sourceList , Start [, Count ]) ⇒ list Returns Count elements from sourceList , beginning with element number Start .
min() min(Matrix1) ⇒ matrix Catalog > Returns a row vector containing the minimum element of each column in Matrix1. Note: See also max(). mirr() Catalog > mirr (financeRate ,reinvestRate ,CF0,CFList [,CFFreq]) Financial function that returns the modified internal rate of return of an investment. financeRate is the interest rate that you pay on the cash flow amounts. reinvestRate is the interest rate at which the cash flows are reinvested.
mod() Catalog > mod(x,0) = x mod(x,y) = x − y floor(x/y) When the second argument is non-zero, the result is periodic in that argument. The result is either zero or has the same sign as the second argument. If the arguments are two lists or two matrices, returns a list or matrix containing the modulo of each pair of corresponding elements.
Output variable Description stat.RegEqn Regression Equation: b0+b1•x1+b2•x2+ ... stat.b0, stat.b1, ... Regression coefficients stat.R 2 Coefficient of multiple determination stat. y List yList = b0+b1•x1+ ... stat.Resid Residuals from the regression MultRegIntervals MultRegIntervals Y, X1[, X2[, X3,…[, X10]]], XValList [, CLevel ] Catalog > Computes a predicted y-value, a level C prediction interval for a single observation, and a level C confidence interval for the mean response.
MultRegTests MultRegTests Y, X1[, X2[, X3,…[, X10]]] Catalog > Multiple linear regression test computes a multiple linear regression on the given data and provides the global F test statistic and t test statistics for the coefficients. A summary of results is stored in the stat.results variable. (See page 145.) For information on the effect of empty elements in a list, see “Empty (Void) Elements,” page 196. Outputs Output variable Description stat.RegEqn Regression Equation: b0+b1•x1+b2•x2+ ... stat.
Output variable Description stat.Resid Residuals from the regression stat.sResid Standardized residuals; obtained by dividing a residual by its standard deviation stat.CookDist Cook’s distance; measure of the influence of an observation based on the residual and leverage stat.
nCr() nCr(Value1, Value2) ⇒ expression Catalog > For integer Value1 and Value2 with Value1 ≥ Value2≥ 0, nCr() is the number of combinations of Value1 things taken Value2 at a time. (This is also known as a binomial coefficient.) nCr(Value , 0) ⇒ 1 nCr(Value , negInteger) ⇒ 0 nCr(Value , posInteger) ⇒ Value• (Value−1) ...
nDerivative() Catalog > Note: The nDerivative() algorithm has a limitiation: it works recursively through the unsimplified expression, computing the numeric value of the first derivative (and second, if applicable) and the evaluation of each subexpression, which may lead to an unexpected result. Consider the example on the right. The first derivative of x•(x^2+x)^(1/3) at x=0 is equal to 0.
nfMax() Catalog > Returns a candidate numerical value of variable Var where the local maximum of Expr occurs. If you supply lowBound and upBound, the function looks in the closed interval [lowBound,upBound] for the local maximum. nfMin() nfMin(Expr, Var) ⇒ value nfMin(Expr, Var, lowBound) ⇒ value nfMin(Expr, Var, lowBound, upBound) ⇒ value nfMin(Expr, Var) | lowBound≤Var≤upBound ⇒ value Catalog > Returns a candidate numerical value of variable Var where the local minimum of Expr occurs.
nInt() Catalog > A warning is displayed (“Questionable accuracy”) when it seems that the goal has not been achieved. Nest nInt() to do multiple numeric integration. Integration limits can depend on integration variables outside them. nom() nom(effectiveRate,CpY) ⇒ value Catalog > Financial function that converts the annual effective interest rate effectiveRate to a nominal rate, given CpY as the number of compounding periods per year.
/= keys nor You can enter the integers in any number base. For a binary or hexadecimal entry, you must use the 0b or 0h prefix, respectively. Without a prefix, integers are treated as decimal (base 10). Catalog > norm() norm(Matrix ) ⇒ expression norm(Vector) ⇒ expression Returns the Frobenius norm.
Catalog > not Returns the one’s complement of a real 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. Important: Zero, not the letter O. In Bin base mode: You can enter the integer in any number base. For a binary or hexadecimal entry, you must use the 0b or 0h prefix, respectively.
nPr() Catalog > Returns a matrix of permutations based on the corresponding element pairs in the two matrices. The arguments must be the same size matrix. npv() npv(InterestRate ,CFO,CFList [,CFFreq]) Catalog > Financial function that calculates net present value; the sum of the present values for the cash inflows and outflows. A positive result for npv indicates a profitable investment. InterestRate is the rate by which to discount the cash flows (the cost of money) over one period.
nSolve() Catalog > Iteratively searches for one approximate real numeric solution to Equation for its one variable. Specify the variable as: variable – or – variable = real number For example, x is valid and so is x=3. nSolve() attempts to determine either one point where the residual is zero or two relatively close points where the residual has opposite signs and the magnitude of the residual is not excessive.
Catalog > OneVar 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. An empty element in any of the lists X1 through X20 results in a void for the corresponding element of all those lists. For more information on empty elements, see page 196. Output variable Description stat. v Mean of x values stat. Σ x Sum of x values stat. Σ x 2 Sum of x 2 values stat.sx Sample standard deviation of x stat.
Catalog > or 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 Compares two real integers bit-by-bit using an or operation. Internally, both integers are converted to signed, 64-bit binary numbers. When corresponding bits are compared, the result is 1 if either bit is 1; the result is 0 only if both bits are 0.
Catalog > P►Rx() Returns the equivalent x-coordinate of the (r, θ) pair. Note: The θ argument is interpreted as either a degree, gradian or radian angle, according to the current angle mode. If the argument is an expression, you can use °, G, or r to override the angle mode setting temporarily. Note: You can insert this function from the computer keyboard by typing P@>Rx(...).
PassErr 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. piecewise() piecewise(Expr1[, Cond1[, Expr2 [, Cond2 Catalog > [, … ]]]]) Returns definitions for a piecewise function in the form of a list. You can also create piecewise definitions by using a template. Note: See also Piecewise template, page 2.
Catalog > ►Polar Displays vector in polar form [r∠ θ]. The vector must be of dimension 2 and can be a row or a column. Note: ►Polar is a display-format instruction, not a conversion function. You can use it only at the end of an entry line, and it does not update ans. Note: See also ►Rect, page 122. complexValue ►Polar In Radian angle mode: Displays complexVector in polar form. • • Degree angle mode returns (r∠ θ). Radian angle mode returns reiθ. complexValue can have any complex form.
polyRoots() polyRoots(Poly ,Var) ⇒ list Catalog > polyRoots(ListOfCoeffs) ⇒ list The first syntax, polyRoots( Poly ,Var) , returns a list of real roots of polynomial Poly with respect to variable Var. If no real roots exist, returns an empty list: { }. Poly must be a polynomial in expanded form in one variable. Do not use unexpanded forms such as y 2 •y+1 or x •x+2•x+1 The second syntax, polyRoots ( ListOfCoeffs) , returns a list of real roots for the coefficients in ListOfCoeffs.
Catalog > PowerReg For information on the effect of empty elements in a list, see “Empty (Void) Elements,” page 196. Output variable Description stat.RegEqn Regression equation: a•(x)b stat.a, stat.b Regression coefficients stat.r 2 Coefficient of linear determination for transformed data stat.r Correlation coefficient for transformed data (ln(x), ln(y)) stat.Resid Residuals associated with the power model stat.ResidTrans Residuals associated with linear fit of transformed data stat.
Prgm Catalog > prodSeq() See Π (), page 185. Product (PI) See Π (), page 185. product() product(List [, Start [, End]]) ⇒ expression Catalog > Returns the product of the elements contained in List . Start and End are optional. They specify a range of elements. product(Matrix1[, Start [, End]]) ⇒ matrix Returns a row vector containing the products of the elements in the columns of Matrix1. Start and end are optional. They specify a range of rows. Empty (void) elements are ignored.
propFrac() propFrac( rational_expression,Var) returns Catalog > the sum of proper ratios and a polynomial with respect to Var. The degree of Var in the denominator exceeds the degree of Var in the numerator in each proper ratio. Similar powers of Var are collected. The terms and their factors are sorted with Var as the main variable. If Var is omitted, a proper fraction expansion is done with respect to the most main variable.
Catalog > QR tolerance is calculated as: 5E −14 •max(dim(Matrix )) •rowNorm (Matrix ) The QR factorization is computed numerically using Householder transformations. The symbolic solution is computed using Gram-Schmidt. The columns in qMatName are the orthonormal basis vectors that span the space defined by matrix . QuadReg QuadReg X,Y[, Freq][, Category , Include ]] Computes the quadratic polynomial regression y=a•x 2 +b•x+c on lists X and Y with frequency Freq.
stat.RegEqn Regression equation: a•x 2+b•x+c stat.a, stat.b, stat.c Regression coefficients stat.R 2 Coefficient of determination stat.Resid Residuals from the regression 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.
Output variable Description stat.RegEqn Regression equation: a•x 4+b•x 3+c• x 2+d•x+e stat.a, stat.b, stat.c, stat.d, stat.e Regression coefficients stat.R 2 Coefficient of determination stat.Resid Residuals from the regression 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.
Catalog > R►Pr() Note: You can insert this function from the computer keyboard by typing R@>Pr(...). Catalog > ►Rad Value1►Rad ⇒ value In Degree angle mode: Converts the argument to radian angle measure. Note: You can insert this operator from the computer keyboard by typing @>Rad. rand() rand() ⇒ expression rand(#Trials) ⇒ list In Gradian angle mode: Catalog > Set the random-number seed. rand() returns a random value between 0 and 1.
randInt() Catalog > randInt (lowBound,upBound) ⇒ expression randInt (lowBound,upBound ,#Trials) ⇒ list randInt ( lowBound,upBound) returns a random integer within the range specified by lowBound and upBound integer bounds. randInt ( lowBound,upBound ,#Trials) returns a list containing #Trials random integers within the specified range. randMat() randMat(numRows, numColumns) ⇒ matrix Catalog > Returns a matrix of integers between -9 and 9 of the specified dimension.
randPoly() randPoly(Var, Order) ⇒ expression Catalog > Returns a polynomial in Var of the specified Order. The coefficients are random integers in the range −9 through 9. The leading coefficient will not be zero. Order must be 0–99. randSamp() randSamp(List ,#Trials[,noRepl ]) ⇒ list Catalog > Returns a list containing a random sample of #Trials trials from List with an option for sample replacement ( noRepl =0), or no sample replacement ( noRepl =1). The default is with sample replacement.
Catalog > ►Rect Vector ►Rect Note: You can insert this operator from the computer keyboard by typing @>Rect. Displays Vector in rectangular form [x, y, z]. The vector must be of dimension 2 or 3 and can be a row or a column. Note: ►Rect is a display-format instruction, not a conversion function. You can use it only at the end of an entry line, and it does not update ans. Note: See also ►Polar, page 110. complexValue ►Rect In Radian angle mode: Displays complexValue in rectangular form a+bi.
Catalog > ref() • • If you use /· or set the Auto or Approximate mode to Approximate, computations are done using floatingpoint arithmetic. If Tol is omitted or not used, the default tolerance is calculated as: 5E −14 •max(dim(Matrix1)) •rowNorm (Matrix1) Avoid undefined elements in Matrix1. They can lead to unexpected results.
Catalog > RefreshProbeVars StatusVar Value If status=0 Then Status statusVar Normal (continue with the =0 program) The Vernier DataQuest™ application is in data collection mode. statusVar Note: The Vernier DataQuest™ =1 application must be in meter mode for this command to work. Disp "ready" For n,1,50 RefreshProbeVars status temperature:=meter.temperature Disp "Temperature: ",temperature If temperature>30 Then statusVar The Vernier DataQuest™ Disp "Too hot" =2 EndIf application is not launched.
Catalog > remain() As a consequence, note that remain( −x,y) − remain( x,y) . The result is either zero or it has the same sign as the first argument. Note: See also mod() , page 94. Request Request promptString, var[, DispFlag [, statusVar]] Request promptString, func (arg1, ...argn) [, DispFlag [, statusVar]] Programming command: Pauses the program and displays a dialog box containing the message promptString and an input box for the user’s response.
Catalog > Request The func () argument allows a program to store the user’s response as a function definition. This syntax operates as if the user executed the command: Define func ( arg1, ...argn) = user’s response The program can then use the defined function func (). The promptString should guide the user to enter an appropriate user’s response that completes the function definition. Result after entering x^3+3x+1 and selecting OK : Real roots are: {-0.
Catalog > RequestStr To stop a program that contains a RequestStr command inside an infinite loop: • Handheld: Hold down the c key and press · repeatedly. • Windows®: Hold down the F12 key and press Enter repeatedly. Macintosh®: Hold down the F5 key and press Enter repeatedly. iPad®: The app displays a prompt. You can continue waiting or cancel. • • Note: See also Request, page 125.
Catalog > right() right(Comparison) ⇒ expression Returns the right side of an equation or inequality. rk23 () rk23(Expr, Var, depVar, {Var0, VarMax }, depVar0, VarStep [, diftol ]) ⇒ matrix Catalog > Differential equation: y'=0.
Catalog > rk23 () {Var0, VarMax } is a two-element list that tells the function to integrate from Var0 to VarMax . ListOfDepVars0 is a list of initial values for dependent variables. If VarStep evaluates to a nonzero number: sign( VarStep) = sign( VarMax -Var0) and solutions are returned at Var0+i*VarStep for all i=0,1,2,… such that Var0+i*VarStep is in [var0,VarMax ] (may not get a solution value at VarMax ). if VarStep evaluates to zero, solutions are returned at the "Runge-Kutta" Var values.
rotate() If #ofRotations is positive, the rotation is to the left. If #ofRotations is negative, the rotation is to the right. The default is −1 Catalog > In Hex base mode: (rotate right one bit). For example, in a right rotation: Each bit rotates right. 0b00000000000001111010110000110101 Important: To enter a binary or hexadecimal number, always use the 0b or 0h prefix (zero, not the letter O). Rightmost bit rotates to leftmost.
round() Catalog > Note: Display digits mode may affect how this is displayed. round(List1[, digits]) ⇒ list Returns a list of the elements rounded to the specified number of digits. round(Matrix1[, digits]) ⇒ matrix Returns a matrix of the elements rounded to the specified number of digits. rowAdd() rowAdd(Matrix1, rIndex1, rIndex2) ⇒ matrix Catalog > Returns a copy of Matrix1 with row rIndex2 replaced by the sum of rows rIndex1 and rIndex2.
Catalog > rowSwap() rowSwap(Matrix1, rIndex1, rIndex2) ⇒ matrix Returns Matrix1 with rows rIndex1 and rIndex2 exchanged. Catalog > rref() rref(Matrix1[, Tol ]) ⇒ matrix Returns the reduced row echelon form of Matrix1. 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.
µ key sec() 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. µ key sec ⁻¹() sec⁻¹(Value1) ⇒ value sec⁻¹(List1) ⇒ list Returns the angle whose secant is Value1 or returns a list containing the inverse secants of each element of List1.
Send Send exprOrString1 [, exprOrString2] ... Programming command: Sends one or more TI-Innovator™ Hub commands to a connected hub. exprOrString must be a valid TI-Innovator™ Hub Command. Typically, exprOrString contains a "SET ..." command to control a device or a "READ ..." command to request data. Hub Menu Example: Turn on the blue element of the built-in RGB LED for 0.5 seconds. Example: Request the current value of the hub's built-in light-level sensor.
seqGen() 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. Catalog > Generate the first 5 terms of the sequence u (n ) = u (n -1)2/2, with u (1)=2 and VarStep =1.
seqn() Catalog > Generates a list of terms for a nonrecursive sequence u( n)=Expr( n) as follows: Increments n from 1 through nMax by 1, evaluates u( n) for corresponding values of n using the Expr( n) formula, and returns the results as a list. If nMax is missing, nMax is set to 2500 If nMax =0, nMax is set to 2500 Note: seqn() calls seqGen( ) with n0=1 and nstep =1 setMode() setMode(modeNameInteger, settingInteger) ⇒ integer setMode(list ) ⇒ integer list Valid only within a function or program.
Catalog > setMode() Note: The current mode settings are passed to called subroutines. If any subroutine changes a mode setting, the mode change will be lost when control returns to the calling routine. Note for entering the example: For instructions on entering multi-line program and function definitions, refer to the Calculator section of your product guidebook.
shift() If #ofShifts is positive, the shift is to the left. If #ofShifts is negative, the shift is to the right. The default is −1 (shift right one Catalog > Important: To enter a binary or hexadecimal number, always use the 0b or 0h prefix (zero, not the letter O). bit). In a right shift, the rightmost bit is dropped and 0 or 1 is inserted to match the leftmost bit. In a left shift, the leftmost bit is dropped and 0 is inserted as the rightmost bit. For example, in a right shift: Each bit shifts right.
Catalog > shift() Characters introduced at the beginning or end of string by the shift are set to a space. Catalog > sign() sign(Value1) ⇒ value sign(List1) ⇒ list sign(Matrix1) ⇒ matrix For real and complex Value1, returns Value1 / abs( Value1) when Value1 ≠ 0. If complex format mode is Real: Returns 1 if Value1is positive.Returns −1 if Value1 is negative. sign(0) returns „1 if the complex format mode is Real; otherwise, it returns itself. sign(0) represents the unit circle in the complex domain.
Catalog > simult() • using floating-point arithmetic. If Tol is omitted or not used, the default tolerance is calculated as: 5E −14 •max(dim(coeffMatrix )) •rowNorm(coeffMatrix ) simult(coeffMatrix , constMatrix [, Tol ]) ⇒ matrix Solves multiple systems of linear equations, where each system has the same equation coefficients but different constants. Each column in constMatrix must contain the constants for a system of equations.
µ key sin() squareMatrix1 must be diagonalizable. The result always contains floating-point numbers. µ key sin⁻¹() sin⁻¹(Value1) ⇒ value sin⁻¹(List1) ⇒ list sin⁻¹( Value1) returns the angle whose sine is Value1. In Degree angle mode: 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, gradian or radian angle, according to the current angle mode setting.
sinh() sinh(squareMatrix1) ⇒ squareMatrix Catalog > In Radian angle mode: Returns the matrix hyperbolic sine of squareMatrix1. This is not the same as calculating the hyperbolic sine of each element. For information about the calculation method, refer to cos() . squareMatrix1 must be diagonalizable. The result always contains floating-point numbers. sinh⁻¹() Catalog > sinh⁻¹(Value1) ⇒ value sinh⁻¹(List1) ⇒ list sinh⁻¹( Value1) returns the inverse hyperbolic sine of the argument.
Catalog > SinReg X and Y are lists of independent and dependent variables. Iterations is a value that specifies the maximum number of times (1 through 16) a solution will be attempted. If omitted, 8 is used. Typically, larger values result in better accuracy but longer execution times, and vice versa. Period specifies an estimated period. If omitted, the difference between values in X should be equal and in sequential order. If you specify Period, the differences between x values can be unequal.
SortA SortA List1[, List2] [, List3]... SortA Vector1[, Vector2] [, Vector3]... Catalog > Sorts the elements of the first argument in ascending order. If you include additional arguments, sorts the elements of each so that their new positions match the new positions of the elements in the first argument. All arguments must be names of lists or vectors. All arguments must have equal dimensions. Empty (void) elements within the first argument move to the bottom.
►Sphere Catalog > Note: ►Sphere is a display-format instruction, not a conversion function. You can use it only at the end of an entry line. sqrt() Catalog > sqrt(Value1) ⇒ value 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. stat.results Catalog > stat.results Displays results from a statistics calculation. The results are displayed as a set of namevalue pairs.
stat.a stat.AdjR² stat.b stat.b0 stat.b1 stat.b2 stat.b3 stat.b4 stat.b5 stat.b6 stat.b7 stat.b8 stat.b9 stat.b10 stat.bList stat.χ² stat.c stat.CLower stat.CLowerList stat.CompList stat.CompMatrix stat.CookDist stat.CUpper stat.CUpperList stat.d stat.dfDenom stat.dfBlock stat.dfCol stat.dfError stat.dfInteract stat.dfReg stat.dfNumer stat.dfRow stat.DW stat.e stat.ExpMatrix stat.F stat.FBlock stat.Fcol stat.FInteract stat.FreqReg stat.Frow stat.Leverage stat.LowerPred stat.LowerVal stat.m stat.MaxX stat.
stDevPop() stDevPop(List [, freqList ]) ⇒ expression Catalog > In Radian angle and auto modes: Returns the population standard deviation of the elements in List . Each freqList element counts the number of consecutive occurrences of the corresponding element in List . Note:List must have at least two elements. Empty (void) elements are ignored. For more information on empty elements, see page 196.
stDevSamp() stDevSamp(Matrix1[, freqMatrix ]) ⇒ matrix Catalog > Returns a row vector of the sample standard deviations of the columns in Matrix1. Each freqMatrix element counts the number of consecutive occurrences of the corresponding element in Matrix1. Note:Matrix1must have at least two rows. Empty (void) elements are ignored. For more information on empty elements, see page 196. Stop Catalog > Stop Programming command: Terminates the program. Stop is not allowed in functions.
subMat() subMat(Matrix1[, startRow][, startCol ][, endRow][, endCol ]) ⇒ matrix Catalog > Returns the specified submatrix of Matrix1. Defaults: startRow=1, startCol =1, endRow=last row, endCol =last column. Sum (Sigma) sum() sum(List [, Start [, End]]) ⇒ expression See Σ(), page 186. Catalog > Returns the sum of all elements in List . Start and End are optional. They specify a range of elements. Any void argument produces a void result. Empty (void) elements in List are ignored.
sumIf() List can be an expression, list, or matrix. SumList , if specified, must have the same dimension(s) as List . Catalog > Criteria can be: • • A value, expression, or string. For example, 34 accumulates only those elements in List that simplify to the value 34. A Boolean expression containing the symbol ? as a placeholder for each element. For example, ?<10 accumulates only those elements in List that are less than 10.
T Catalog > T (transpose) Matrix1T ⇒ matrix Returns the complex conjugate transpose of Matrix1. Note: You can insert this operator from the computer keyboard by typing @t. µ key tan() tan(Value1) ⇒ value tan(List1) ⇒ list In Degree angle mode: tan( Value1) returns the tangent of the argument. tan( List1) returns a list of the tangents of all elements in List1. Note: The argument is interpreted as a In Gradian angle mode: degree, gradian or radian angle, according to the current angle mode.
µ key tan() squareMatrix1 must be diagonalizable. The result always contains floating-point numbers. tan⁻¹() tan⁻¹(Value1) ⇒ value µ key In Degree angle mode: tan⁻¹(List1) ⇒ list tan⁻¹( Value1) returns the angle whose tangent is Value1. 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 current angle mode setting.
tanh() Catalog > Returns the matrix hyperbolic tangent of squareMatrix1. This is not the same as calculating the hyperbolic tangent of each element. For information about the calculation method, refer to cos() . squareMatrix1 must be diagonalizable. The result always contains floating-point numbers. tanh⁻¹() tanh⁻¹(Value1) ⇒ value tanh⁻¹(List1) ⇒ list Catalog > In Rectangular complex format: tanh⁻¹( Value1) returns the inverse hyperbolic tangent of the argument.
Catalog > tCdf() For P(X ≤ upBound), set lowBound = ⁻9E 999. Text TextpromptString[, DispFlag] Programming command: Pauses the program and displays the character string promptString in a dialog box. When the user selects OK, program execution continues. Catalog > Define a program that pauses to display each of five random numbers in a dialog box. Within the Prgm...EndPrgm template, complete each line by pressing @ instead of ·. On the computer keyboard, hold down Alt and press Enter .
Catalog > tInterval Computes a t confidence interval. A summary of results is stored in the stat.results variable. (See page 145.) For information on the effect of empty elements in a list, see “Empty (Void) Elements,” page 196. Output variable Description stat.CLower, stat.CUpper Confidence interval for an unknown population mean stat. v Sample mean of the data sequence from the normal random distribution stat.ME Margin of error stat.df Degrees of freedom stat.
Output variable Description stat.ME Margin of error stat.df Degrees of freedom stat. v1, stat. 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 stat.n1, stat.n2 Number of samples in data sequences stat.sp The pooled standard deviation.
Catalog > Try Try block1 Else block2 EndTry Executes block1 unless an error occurs. Program execution transfers to block2 if an error occurs in block1. System variable errCode contains the error code to allow the program to perform error recovery. For a list of error codes, see “Error codes and messages,” page 211. block1 and block2 can be either a single statement or a series of statements separated with the “:” character.
tTest tTest μ0,List [,Freq[,Hypoth]] Catalog > (Data list input) tTest μ0,v,sx ,n,[Hypoth] (Summary stats input) Performs a hypothesis test for a single unknown population mean μ when the population standard deviation σ is unknown. A summary of results is stored in the stat.results variable. (See page 145.
Catalog > tTest_2Samp Computes a two-sample t test. A summary of results is stored in the stat.results variable. (See page 145.) Test H : μ1 = μ2, against one of the 0 following: 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 Pooled=1 pools variances Pooled=0 does not pool variances For information on the effect of empty elements in a list, see “Empty (Void) Elements,” page 196. Output variable Description stat.
tvmI() Catalog > Financial function that calculates the interest rate per year. Note: Arguments used in the TVM functions are described in the table of TVM arguments, page 161. See also amortTbl() , page 7. tvmN() tvmN(I,PV,Pmt ,FV,[PpY],[CpY],[PmtAt ]) ⇒ value Catalog > Financial function that calculates the number of payment periods. Note: Arguments used in the TVM functions are described in the table of TVM arguments, page 161. See also amortTbl() , page 7.
TVM argument* Description Data type N Number of payment periods real number I Annual interest rate real number PV Present value real number Pmt Payment amount real number FV Future value real number PpY Payments per year, default=1 integer > 0 CpY Compounding periods per year, default=1 integer > 0 PmtAt Payment due at the end or beginning of each period, default=end integer (0=end, 1=beginning) * These time-value-of-money argument names are similar to the TVM variable names (such
Catalog > TwoVar 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. An empty element in any of the lists X1 through X20 results in a void for the corresponding element of all those lists. For more information on empty elements, see page 196. Output variable Description stat. v Mean of x values stat. Σ x Sum of x values stat. Σ x2 Sum of x2 values stat.sx Sample standard deviation of x stat.
Output variable Description stat.MaxY Maximum of y values stat. Σ (x-v)2 Sum of squares of deviations from the mean of x stat. Σ (y-w)2 Sum of squares of deviations from the mean of y U unitV() unitV(Vector1) ⇒ vector Catalog > Returns either a row- or column-unit vector, depending on the form of Vector1. Vector1 must be either a single-row matrix or a single-column matrix. unLock unLock Var1[, Var2] [, Var3] ... unLock Var. Catalog > Unlocks the specified variables or variable group.
Catalog > varPop() If an element in either list is empty (void), that element is ignored, and the corresponding element in the other list is also ignored. For more information on empty elements, see page 196. Catalog > varSamp() varSamp(List [, freqList ]) ⇒ expression Returns the sample variance of List . Each freqList element counts the number of consecutive occurrences of the corresponding element in List . Note: List must contain at least two elements.
Catalog > Wait Suspends execution for a period of timeInSeconds seconds. Wait is particularly useful in a program that needs a brief delay to allow requested data to become available. The argument timeInSeconds must be an expression that simplifies to a decimal value in the range 0 through 100. The command rounds this value up to the nearest 0.1 seconds. To cancel a Wait that is in progress, • Handheld: Hold down the c key and press · repeatedly.
when() when(Condition, trueResult [, falseResult ] [, unknownResult ]) ⇒ expression Catalog > Returns trueResult , falseResult , or unknownResult , depending on whether Condition is true, false, or unknown. Returns the input if there are too few arguments to specify the appropriate result. Omit both falseResult and unknownResult to make an expression defined only in the region where Condition is true. Use an undef falseResult to define an expression that graphs only on an interval.
Catalog > xor matrix Returns true if BooleanExpr1 is true and BooleanExpr2 is false, or vice versa. Returns false if both arguments are true or if both are false. Returns a simplified Boolean expression if either of the arguments cannot be resolved to true or false. Note: See or, page 107. Integer1 xor Integer2⇒ integer In Hex base mode: Compares two real integers bit-by-bit using an xor operation. Internally, both integers are converted to signed, 64-bit binary numbers.
Catalog > zInterval Computes a z confidence interval. A summary of results is stored in the stat.results variable. (See page 145.) For information on the effect of empty elements in a list, see “Empty (Void) Elements,” page 196. Output variable Description stat.CLower, stat.CUpper Confidence interval for an unknown population mean stat. x Sample mean of the data sequence from the normal random distribution stat.ME Margin of error stat.sx Sample standard deviation stat.
Catalog > zInterval_2Prop Computes a two-proportion z confidence interval. A summary of results is stored in the stat.results variable. (See page 145.) x1 and x2 are non-negative integers. For information on the effect of empty elements in a list, see “Empty (Void) Elements,” page 196. Output variable Description stat.CLower, stat.CUpper Confidence interval containing confidence level probability of distribution stat. Ç Diff The calculated difference between proportions stat.
Output variable Description stat. x1-x2 Sample means of the data sequences from the normal random distribution stat.ME Margin of error 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.n1, stat.n2 Number of samples in data sequences stat.r1, stat.
Catalog > zTest_1Prop Output variable Description stat.p0 Hypothesized population proportion stat.z Standard normal value computed for the proportion stat.PVal Smallest level of significance at which the null hypothesis can be rejected stat. Ç Estimated sample proportion stat.n Size of the sample zTest_2Prop zTest_2Prop x1,n1,x2,n2[,Hypoth] Catalog > Computes a two-proportion z test. A summary of results is stored in the stat.results variable. (See page 145.
zTest_2Samp [,Freq2[,Hypoth]]] Catalog > (Data list input) zTest_2Samp σ1 ,σ2 ,v 1,n1,v 2,n2[,Hypoth] (Summary stats input) Computes a two-sample z test. A summary of results is stored in the stat.results variable. (See page 145.) Test H : μ1 = μ2, against one of the 0 following: For H : μ1 < μ2, set Hypoth<0 a For H : μ1 ≠ μ2 (default), set Hypoth=0 a For H : μ1 > μ2, Hypoth>0 a For information on the effect of empty elements in a list, see “Empty (Void) Elements,” page 196.
Symbols + (add) Value1 + Value2 ⇒ value + key Returns the sum of the two arguments. List1 + List2 ⇒ list Matrix1 + Matrix2 ⇒ matrix Returns a list (or matrix) containing the sums of corresponding elements in List1 and List2 (or Matrix1 and Matrix2). Dimensions of the arguments must be equal. Value + List1 ⇒ list List1 + Value ⇒ list Returns a list containing the sums of Value and each element in List1.
− (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. Value − List1 ⇒ list List1 − Value ⇒ list Subtracts each List1 element from Value or subtracts Value from each List1 element, and returns a list of the results. Value − Matrix1 ⇒ matrix Matrix1 − Value ⇒ matrix Value − Matrix1 returns a matrix of Value times the identity matrix minus Matrix1. Matrix1 must be square.
• (multiply) r key Value •List1 ⇒ list List1•Value ⇒ list Returns a list containing the products of Value and each element in List1. Value •Matrix1 ⇒ matrix Matrix1•Value ⇒ matrix Returns a matrix containing the products of Value and each element in Matrix1. Note: Use .•(dot multiply) to multiply an expression by each element. ⁄ (divide) p key Value1 ⁄ Value2 ⇒ value Returns the quotient of Value1 divided by Value2. Note: See also Fraction template, page 1.
^ (power) Value1 ^ Value2⇒ value List1 ^ List2 ⇒ list Returns the first argument raised to the power of the second argument. Note: See also Exponent template, page 1. For a list, returns the elements in List1 raised to the power of the corresponding elements in List2. In the real domain, fractional powers that have reduced exponents with odd denominators use the real branch versus the principal branch for complex mode. Value ^ List1 ⇒ list Returns Value raised to the power of the elements in List1.
x2 (square) Value12⇒ value q key 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. .+ (dot add) Matrix1 .+ Matrix2 ⇒ matrix ^+ keys Value .+ Matrix1⇒ matrix Matrix1.
. •(dot mult.) Matrix1 .• Matrix2⇒ matrix ^r keys Value .• Matrix1 ⇒ matrix Matrix1.• Matrix2 returns a matrix that is the product of each pair of corresponding elements in Matrix1 and Matrix2. Value .• Matrix1 returns a matrix containing the products of Value and each element in Matrix1. . ⁄ (dot divide) Matrix1. ⁄ Matrix2 ⇒ matrix ^p keys Value . ⁄ Matrix1⇒ matrix Matrix1 . ⁄ Matrix2 returns a matrix that is the quotient of each pair of corresponding elements in Matrix1 and Matrix2. Value .
v key − (negate) Returns the negation of the argument. For a list or matrix, returns all the elements negated. In Bin base mode: Important: Zero, not the letter O. If the argument is a binary or hexadecimal integer, the negation gives the two’s complement. To see the entire result, press £ and then use ¡ and ¢ to move the cursor. /k keys % (percent) Value1% ⇒ value List1% ⇒ list Matrix1% ⇒ matrix Returns For a list or matrix, returns a list or matrix with each element divided by 100.
= key = (equal) Note for entering the example: For instructions on entering multi-line program and function definitions, refer to the Calculator section of your product guidebook. /= keys ≠ (not equal) Expr1≠Expr2 ⇒ Boolean expression See “=” (equal) example. List1≠List2 ⇒ Boolean list Matrix1≠Matrix2 ⇒ Boolean matrix Returns true if Expr1 is determined to be not equal to Expr2. Returns false if Expr1 is determined to be equal to Expr2. Anything else returns a simplified form of the equation.
/= keys < (less than) Anything else returns a simplified form of the equation. For lists and matrices, returns comparisons element by element. /= keys ≤ (less or equal) Expr1≤Expr2 ⇒ Boolean expression See “=” (equal) example. List1≤List2 ⇒ Boolean list Matrix1 ≤Matrix2 ⇒ Boolean matrix Returns true if Expr1 is determined to be less than or equal to Expr2. Returns false if Expr1 is determined to be greater than Expr2. Anything else returns a simplified form of the equation.
/= keys ≥ (greater or equal) Expr1≥Expr2 ⇒ Boolean expression See “=” (equal) example. List1≥List2 ⇒ Boolean list Matrix1 ≥Matrix2 ⇒ Boolean matrix Returns true if Expr1 is determined to be greater than or equal to Expr2. Returns false if Expr1 is determined to be less than Expr2. Anything else returns a simplified form of the equation. For lists and matrices, returns comparisons element by element.
⇔ (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.
d() (derivative) d(Expr1, Var[, Order]) | Var=Value ⇒ value d(Expr1, Var[, Order]) ⇒ value d(List1, Var[, Order]) ⇒ list d(Matrix1, Var[, Order]) ⇒ matrix Except when using the first syntax, you must store a numeric value in variable Var before evaluating d() . Refer to the examples. d() can be used for calculating first and second order derivative at a point numerically, using auto differentiation methods. Order, if included, must be=1 or 2. The default is 1.
∫() (integral) Catalog > ∫(Expr1, Var, Lower,Upper) ⇒ value Returns the integral of Expr1 with respect to the variable Var from Lower to Upper. Can be used to calculate the definite integral numerically, using the same method as nInt(). Note: You can insert this function from the keyboard by typing integral(...). Note: See also nInt() , page 101, and Definiteintegral template, page 6. √() (square root) /q keys √(Value1) ⇒ value √(List1) ⇒ list Returns the square root of the argument.
Π() (prodSeq) Catalog > The product formulas used are derived from the following reference: Ronald L. Graham, Donald E. Knuth, and Oren Patashnik. Concrete Mathematics: A Foundation for Computer Science . Reading, Massachusetts: Addison-Wesley, 1994. Σ() (sumSeq) Catalog > Σ(Expr1, Var, Low, High) ⇒ expression Note: You can insert this function from the keyboard by typing sumSeq(...). Evaluates Expr1 for each value of Var from Low to High, and returns the sum of the results.
ΣInt() Catalog > 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 161. • • • 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.
ΣPrn() • • • Catalog > 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 7.
E (scientific notation) i key 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) Expr1g List1g ⇒ expression ¹ key In Degree, Gradian or Radian mode: ⇒ list Matrix1g ⇒ matrix This function gives you a way to specify a gradian angle while in the Degree or Radian mode. In Radian angle mode, multiplies Expr1 by π/200. In Degree angle mode, multiplies Expr1 by g/100. In Gradian mode, returns Expr1 unchanged.
¹ key r(radian) 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. ¹ key ° (degree) Value1° ⇒ value In Degree, Gradian or Radian angle mode: List1° ⇒ list Matrix1° ⇒ matrix In Radian angle mode: This function gives you a way to specify a degree angle while in Gradian or Radian mode. In Radian angle mode, multiplies the argument by π/180.
/k keys ∠ (angle) [Radius,∠ θ_Angle ] ⇒ vector (polar input) In Radian mode and vector format set to: rectangular [Radius,∠ θ_Angle ,Z_Coordinate ] ⇒ vector (cylindrical input) [Radius,∠ θ_Angle ,∠ θ_Angle ] ⇒ vector (spherical input) cylindrical Returns coordinates as a vector depending on the Vector Format mode setting: rectangular, cylindrical, or spherical. Note: You can insert this symbol from the computer keyboard by typing @<.
10^() 10^(squareMatrix1) ⇒ squareMatrix Catalog > Returns 10 raised to the power of squareMatrix1. This is not the same as calculating 10 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. ^ ⁻¹ (reciprocal) Value1 ^⁻¹ ⇒ value Catalog > List1 ^⁻¹ ⇒ list Returns the reciprocal of the argument. For a list, returns the reciprocals of the elements in List1.
| (constraint operator) • /k keys Exclusions Substitutions are in the form of an equality, such as x=3 or y=sin(x). To be most effective, the left side should be a simple variable. Expr | Variable = value will substitute value for every occurrence of Variable in Expr. 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.
/h key → (store) Note: You can insert this operator from the keyboard by typing =: as a shortcut. For example, type pi/4 =: myvar. /t keys := (assign) Var := Value 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 Value , List , or Matrix . If Var already exists and is not locked or protected, replaces its contents with Value , List , or Matrix .
0b, 0h Denotes a binary or hexadecimal number, respectively. To enter a binary or hex number, you must enter the 0b or 0h prefix regardless of the Base mode. Without a prefix, a number is treated as decimal (base 10). Results are displayed according to the Base mode.
Empty (Void) Elements When analyzing real-world data, you might not always have a complete data set. TI-Nspire™ Software allows empty, or void, data elements so you can proceed with the nearly complete data rather than having to start over or discard the incomplete cases. You can find an example of data involving empty elements in the Lists & Spreadsheet chapter, under “Graphing spreadsheet data.” The delVoid() function lets you remove empty elements from a list.
List arguments containing void elements In regressions, a void in an X or Y list introduces a void for the corresponding element of the residual. An omitted category in regressions introduces a void for the corresponding element of the residual. A frequency of 0 in regressions introduces a void for the corresponding element of the residual.
Shortcuts for Entering Math Expressions Shortcuts let you enter elements of math expressions by typing instead of using the Catalog or Symbol Palette. For example, to enter the expression √6, you can type sqrt (6) on the entry line. When you press ·, the expression sqrt(6) is changed to √6. Some shortcuts are useful from both the handheld and the computer keyboard. Others are useful primarily from the computer keyboard.
To enter this: Type this shortcut: r (radians) @r ° (degrees) @d g @g (gradians) ∠ (angle) @< ► (conversion) @> ►Decimal, ►approxFraction() , and so on. @>Decimal, @>approxFraction(), and so on.
EOS™ (Equation Operating System) Hierarchy This section describes the Equation Operating System (EOS™) that is used by the TI-Nspire™ math and science learning technology. Numbers, variables, and functions are entered in a simple, straightforward sequence. EOS™ software evaluates expressions and equations using parenthetical grouping and according to the priorities described below.
The number of opening and closing parentheses, brackets, and braces must be the same within an expression or equation. If not, an error message is displayed that indicates the missing element. For example, (1+2)/(3+4 will display the error message “Missing ).” Note: Because the TI-Nspire™ software allows you to define your own functions, a variable name followed by an expression in parentheses is considered a “function call” instead of implied multiplication.
Constants and Values The following table lists the constants and their values that are available when performing unit conversions. They can be typed in manually or selected from the Constants list in Utilities > Unit Conversions (Handheld: Press k 3). Constant Name Value _c Speed of light 299792458 _m/_s _Cc Coulomb constant 8987551787.3682 _m/_F _Fc Faraday constant 96485.33289 _coul/_mol _g Acceleration of gravity 9.80665 _m/_s2 _Gc Gravitational constant 6.
Error Codes and Messages When an error occurs, its code is assigned to variable errCode . User-defined programs and functions can examine errCode to determine the cause of an error. For an example of using errCode , See Example 2 under the Try command, page 157. Note: Some error conditions apply only to TI-Nspire™ CAS products, and some apply only to TI-Nspire™ products. Error code Description 10 A function did not return a value 20 A test did not resolve to TRUE or FALSE.
Error code Description 180 Break The d or c key was pressed during a long calculation or during program execution. 190 Circular definition 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.
Error code Description 345 Inconsistent units 350 Index out of range 360 Indirection string is not a valid variable name 380 Undefined Ans Either the previous calculation did not create Ans, or no previous calculation was entered. 390 Invalid assignment 400 Invalid assignment value 410 Invalid command 430 Invalid for the current mode settings 435 Invalid guess 440 Invalid implied multiply For example, x(x+1) is invalid; whereas, x*(x+1) is the correct syntax.
Error code Description 600 Invalid table 605 Invalid use of units 610 Invalid variable name in a Local statement 620 Invalid variable or function name 630 Invalid variable reference 640 Invalid vector syntax 650 Link transmission A transmission between two units was not completed. Verify that the connecting cable is connected firmly to both ends. 665 Matrix not diagonalizable 670 Low Memory 1. Delete some data in this document 2.
Error code Description To allow complex results, change the “Real or Complex” Mode Setting to RECTANGULAR or POLAR. 830 Overflow 850 Program not found A program reference inside another program could not be found in the provided path during execution. 855 Rand type functions not allowed in graphing 860 Recursion too deep 870 Reserved name or system variable 900 Argument error Median-median model could not be applied to data set.
Error code Description 1000 Window variables domain 1010 Zoom 1020 Internal error 1030 Protected memory violation 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.
Error code Description A pathname must be in the form xxx\yyy, where: • • The xxx part can have 1 to 16 characters. The yyy part can have 1 to 15 characters. See the Library section in the documentation for more details. 1170 Invalid use of library pathname • • 1180 A value cannot be assigned to a pathname using Define, :=, or sto → . A pathname cannot be declared as a Local variable or be used as a parameter in a function or program definition. Invalid library variable name.
Error code Description Trigonometric conversion operators are not supported in Degree or Gradian angle modes. 1250 Argument Error Use a system of linear equations. Example of a system of two linear equations with variables x and y: 3x+7y=5 2y-5x=-1 1260 Argument Error: 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. 1270 Argument Error Order of the derivative must be equal to 1 or 2.
Warning Codes and Messages You can use the warnCodes() function to store the codes of warnings generated by evaluating an expression. This table lists each numeric warning code and its associated message. For an example of storing warning codes, see warnCodes() , page 165. Warning code Message 10000 Operation might introduce false solutions. 10001 Differentiating an equation may produce a false equation. 10002 Questionable solution 10003 Questionable accuracy 10004 Operation might lose solutions.
Warning code Message 10022 Specifying appropriate lower and upper bounds might produce a solution. 10023 Scalar has been multiplied by the identity matrix. 10024 Result obtained using approximate arithmetic. 10025 Equivalence cannot be verified in EXACT mode. 10026 Constraint might be ignored.
Support and Service Texas Instruments Support and Service General Information: North and South America Home Page: KnowledgeBase and e-mail inquiries: education.ti.com education.ti.com/support Phone: (800) TI-CARES / (800) 842-2737 For North and South America and U.S. Territories International contact information: https://education.ti.com/en/us/customersupport/support_worldwide For Technical Support Knowledge Base and support by e-mail: education.ti.com/support or ticares@ti.
Index ^, power 176 | -, subtract |, constraint operator 173 ! !, factorial ′ ′ minute notation 183 " ", second notation +, add # 188 201 % %, percent & ≠, not equal ≤, less than or equal ≥, greater than or equal >, greater than =, equal ∏, product * 174 ∑( ), sum ∑Int( ) ∑Prn( ) √, square root ∠ (angle) 191 ∫ 175 ∫, integral 185 ► : 194 ^ ^⁻¹, reciprocal 185 ∠ / :=, assign 186 186 187 √ 177 178 178 178 177 /, divide 185 ∑ . .-, dot subtraction .*, dot multiplication .
►Cylind, display as cylindrical vector ►DD, display as decimal angle ►Decimal, display result as decimal ►DMS, display as degree/minute/second ►Grad, convert to gradian angle ►Polar, display as polar vector ►Rad, convert to radian angle ►Rect, display as rectangular vector ►Sphere, display as spherical vector 34 35 35 42 67 110 119 122 144 ⇒ ⇒ , logical implication 182, 198 → →, store variable 193 ⇔ ⇔ , logical double implication 183, 198 © ©, comment 194 ° °, degree notation °, degrees/minutes/se
nor not or xor 102 103 107 166 C Cdf( ) ceiling( ), ceiling ceiling, ceiling( ) centralDiff( ) char( ), character string character string, char( ) characters numeric code, ord( ) string, char( ) χ²2way clear error, ClrErr ClearAZ ClrErr, clear error colAugment colDim( ), matrix column dimension colNorm( ), matrix column norm combinations, nCr( ) comment, © complex conjugate, conj( ) conj( ), complex conjugate constraint operator "|" constraint operator, order of evaluation construct matrix, constructMat(
definite integral template for 6 degree notation, ° 190 degree/minute/second display, 42 ►DMS degree/minute/second notation 190 delete void elements from list 38 deleting variable, DelVar 38 deltaList() 38 DelVar, delete variable 38 delVoid( ), remove void elements 38 derivatives first derivative, d( ) 184 numeric derivative, nDeriv( ) 100-101 numeric derivative, nDerivative( 99 ) det( ), matrix determinant 39 diag( ), matrix diagonal 39 dim( ), dimension 39 dimension, dim( ) 39 Disp, display data 40, 134
end while, EndWhile EndTry, end try EndWhile, end while EOS (Equation Operating System) equal, = Equation Operating System (EOS) error codes and messages errors and troubleshooting clear error, ClrErr pass error, PassErr euler( ), Euler function evaluate polynomial, polyEval( ) evaluation, order of exclusion with "|" operator exit, Exit Exit, exit exp( ), e to a power exponent, E exponential regession, ExpReg exponents template for expr( ), string to expression ExpReg, exponential regession expressions stri
Goto, go to gradian notation, g greater than or equal, ≥ greater than, > greatest common divisor, gcd( ) groups, locking and unlocking groups, testing lock status 67 189 182 181 57 85, 163 63 H hexadecimal display, ►Base16 indicator, 0h hyperbolic arccosine, cosh⁻¹( ) arcsine, sinh⁻¹( ) arctangent, tanh⁻¹( ) cosine, cosh( ) sine, sinh( ) tangent, tanh( ) 219 Index 73 71 73 73 74 74 L 17 194 27 142 153 26 141 152 I identity matrix, identity( ) identity( ), identity matrix if, If If, if ifFn( ) imag( )
differences in a list, Δlist( ) 82 dot product, dotP( ) 43 empty elements in 196 list to matrix, list►mat( ) 82 matrix to list, mat►list( ) 90 maximum, max( ) 90 mid-string, mid( ) 93 minimum, min( ) 93 new, newList( ) 100 product, product( ) 114 sort ascending, SortA 144 sort descending, SortD 144 summation, sum( ) 149 ln( ), natural logarithm 82 LnReg, logarithmic regression 83 local variable, Local 85 local, Local 85 Local, local variable 85 Lock, lock variable or variable group 85 locking variables and
maximum, max( ) mean( ), mean mean, mean( ) median( ), median median, median( ) medium-medium line regression, MedMed MedMed, medium-medium line regression mid-string, mid( ) mid( ), mid-string min( ), minimum minimum, min( ) minute notation, ′ mirr( ), modified internal rate of return mixed fractions, using propFrac(› with mod( ), modulo mode settings, getMode( ) modes setting, setMode( ) modified internal rate of return, mirr ( ) modulo, mod( ) mRow( ), matrix row operation mRowAdd( ), matrix row multipli
percent, % 179 permutations, nPr( ) 104 piecewise function (2-piece) template for 2 piecewise function (N-piece) template for 2 piecewise( ) 110 poissCdf( ) 110 poissPdf( ) 110 polar coordinate, R►Pr( ) 118 coordinate, R►Pθ( ) 118 vector display, ►Polar 110 polyEval( ), evaluate polynomial 111 polynomials evaluate, polyEval( ) 111 random, randPoly( ) 121 PolyRoots() 112 power of ten, 10^( ) 191 power regression, 112, 125-126, 154 PowerReg power, ^ 176 PowerReg, power regression 112 Prgm, define program 113
linear regression, LinRegBx 76, 78 logarithmic, LnReg 83 Logistic 86 logistic, Logistic 87 medium-medium line, MedMed 92 MultReg 95 power regression, PowerReg 112, 125-126, 154 quadratic, QuadReg 116 quartic, QuartReg 117 sinusoidal, SinReg 142 remain( ), remainder 124 remainder, remain( ) 124 remove void elements from list 38 Request 125 RequestStr 126 result values, statistics 146 results, statistics 145 return, Return 127 Return, return 127 right( ), right 127 right, right( ) 46, 71, 127-128 rk23( ), Run
two-variable results, TwoVar 161 variance, variance( ) 164 stdDevPop( ), population standard 147 deviation stdDevSamp( ), sample standard 147 deviation Stop command 148 store variable (→) 193 storing symbol, & 194 string dimension, dim( ) 39 length 39 string( ), expression to string 148 strings append, & 183 character code, ord( ) 108 character string, char( ) 20 expression to string, string( ) 148 format, format( ) 53 formatting 53 indirection, # 188 left, left( ) 75 mid-string, mid( ) 93 right, right( ) 4
time value of money, number of payments time value of money, payment amount time value of money, present value tInterval, t confidence interval tInterval_2Samp, twosample t confidence interval tPdf( ), student probability density trace( ) transpose, T Try, error handling command tTest, t test tTest_2Samp, two-sample t test TVM arguments tvmFV( ) tvmI( ) tvmN( ) tvmPmt( ) tvmPV( ) two-variable results, TwoVar TwoVar, two-variable results 160 160 160 154 155 156 156 151 157 158 158 161 159 159 160 160 160 16
Χ χ²Cdf( ) χ²GOF χ²Pdf( ) 20 21 21 Index 226