Summary of Contents for Texas Instruments TI-Nspire CAS
Page 1
TI-Nspire™ CAS Reference Guide This guidebook applies to TI-Nspire™ software version 4.3. To obtain the latest version of the documentation, go to education.ti.com/guides.
"as-is" basis. In no event shall Texas Instruments be liable to anyone for special, collateral, incidental, or consequential damages in connection with or arising out of the...
Contents Important Information Expression Templates Alphabetical Listing Symbols Empty (Void) Elements Shortcuts for Entering Math Expressions EOS™ (Equation Operating System) Hierarchy Error Codes and Messages Warning Codes and Messages Support and Service Texas Instruments Support and Service...
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.
Page 6
keys Nth root template keys e exponent template Example: Natural exponential e raised to a power See also e^() , page 60. Note: Log template Example: Calculates log to a specified base. For a default of base 10, omit the base. See also log() , page 105.
Page 7
Piecewise template (N-piece) Catalog > Lets you create expressions and conditions Example: for an N -piece piecewise function. Prompts See the example for Piecewise template (2- for N . piece). See also piecewise() , page 130. Note: System of 2 equations template Catalog >...
Page 8
Absolute value template Catalog > ° 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 is the number of seconds. ss.ss Matrix template (2 x 2) Catalog >...
Page 9
Matrix template (m x n) Catalog > If you create a matrix with a large Note: number of rows and columns, it may take a few moments to appear. Sum template ( Σ Catalog > Example: See also Σ () ( sumSeq ), page 220. Note: Product template ( Π...
Page 10
Second derivative template Catalog > Example: The second derivative template can also be used to calculate second derivative at a point. See also d() (derivative) , page 217. Note: Nth derivative template Catalog > Example: The n th derivative template can be used to calculate the n th derivative.
Page 11
Limit template Catalog > Use − or ( − ) for left hand limit. Use + for right hand limit. See also limit() , page 10. Note: Expression Templates...
Alphabetical Listing Items whose names are not alphabetic (such as +, !, and >) are listed at the end of this section, page 206. Unless otherwise specified, all examples in this section were performed in the default reset mode, and all variables are assumed to be undefined. Catalog >...
Page 13
Catalog > amortTbl() roundValue specifies the number of decimal places for rounding. Default=2. 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 .
Page 14
Catalog > angle() angle( Expr1 ) ⇒ expression In Degree angle mode: Returns the angle of the argument, interpreting the argument as a complex number. In Gradian angle mode: All undefined variables are treated as Note: real variables. In Radian angle mode: angle( List1 ) ⇒...
Page 15
Output variable Description stat.dfError Degrees of freedom of the errors stat.SSError Sum of squares of the errors 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 Catalog >...
Page 16
Output variable Description stat.MSBlock Mean squares for factor stat.dfError Degrees of freedom of the errors 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.
Page 17
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 Standard deviation of the error keys Ans ⇒ value Returns the result of the most recently evaluated expression. Catalog >...
Page 18
Catalog > ► approxFraction() You can insert this function from the Note: computer keyboard by typing ... ) . @>approxFraction( approxRational() Catalog > approxRational( Expr [, Tol ]) ⇒ expression approxRational( List [, Tol ]) ⇒ list approxRational( Matrix [, Tol ]) ⇒ matrix Returns the argument as a fraction using a tolerance of Tol .
Page 19
Catalog > arcLen() arcLen( Expr1 , Var , Start , End ) ⇒ expression Returns the arc length of Expr1 from Start to End with respect to variable Var . Arc length is calculated as an integral assuming a function mode definition. arcLen( List1 , Var , Start , End ) ⇒...
Page 20
Catalog > augment() 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 . When the “,” character is used, the matrices must have equal row dimensions, and Matrix2 is appended to Matrix1 as new columns.
Page 21
Catalog > bal() bal( NPmt , N , I , PV ,[ Pmt ], [ FV ], [ PpY ], CpY ], [ PmtAt ], [ roundValue ]) ⇒ value NPmt , amortTable ) ⇒ value bal( Amortization function that calculates schedule balance after a specified payment.
Page 22
Catalog > ► Base2 Converts Integer1 to a binary number. Binary or hexadecimal numbers always have a 0b or 0h prefix, respectively. Use a zero, not the letter O, followed by b or h. 0b binaryNumber 0h hexadecimalNumber A binary number can have up to 64 digits. A hexadecimal number can have up to 16.
Page 23
Catalog > ► Base10 You can insert this operator from the Note: computer keyboard by typing @>Base10 . Converts Integer1 to a decimal (base 10) number. A binary or hexadecimal entry must always have a 0b or 0h prefix, respectively. 0b binaryNumber 0h hexadecimalNumber Zero, not the letter O, followed by b or h.
Page 24
Catalog > binomCdf() binomCdf( n , p ) ⇒ list binomCdf( n , p , lowBound , upBound ) ⇒ number if lowBound and upBound are numbers, list if lowBound and upBound are lists binomCdf( n , p , upBound )for P(0 ≤ X ≤upBound ) ⇒...
Page 25
Catalog > centralDiff() centralDiff( Expr1 , Var [ =Value ][, Step ]) ⇒ expression centralDiff( Expr1 , Var [, Step ])| Var=Value ⇒ expression centralDiff( Expr1 , Var [ =Value ][, List ]) ⇒ list centralDiff( List1 , Var [ =Value ][, Step ]) ⇒ list centralDiff( Matrix1 , Var [ =Value ][, Step ]) ⇒...
Page 26
Catalog > cFactor() Expr1 , Var returns Expr1 factored cFactor( with respect to variable Var . Expr1 is factored as much as possible toward factors that are linear in Var , with perhaps non-real constants, even if it introduces irrational constants or subexpressions that are irrational in other variables.
Page 27
Catalog > charPoly() charPoly( squareMatrix,Var ) ⇒ polynomial expression charPoly( squareMatrix,Expr ) ⇒ polynomial expression charPoly( squareMatrix1,Matrix2 ) ⇒ polynomial expression Returns the characteristic polynomial of squareMatrix . The characteristic polynomial of n×n matrix A , denoted by p A ( λ...
Page 28
χ Cdf() Catalog > Cdf( lowBound , upBound , df ) ⇒ number if χ lowBound and upBound are numbers, list if lowBound and upBound are lists chi2Cdf( lowBound , upBound , df ) ⇒ number if lowBound and upBound are numbers, list if lowBound and upBound are lists Computes the χ...
Page 29
χ Pdf() Catalog > number, list if XVal is a list chi2Pdf( XVal , df ) ⇒ number if XVal is a number, list if XVal is a list Computes the probability density function (pdf) for the χ distribution at a specified XVal value for the specified degrees of freedom df .
Page 30
Catalog > colAugment() colAugment( Matrix1 , Matrix2 ) ⇒ matrix 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() Catalog >...
Page 31
Catalog > comDenom() Expr1 , Var returns a reduced comDenom( ratio of numerator and denominator expanded with respect to Var . The terms and their factors are sorted with Var as the main variable. Similar powers of Var are collected. There might be some incidental factoring of the collected coefficients.
Page 32
Catalog > completeSquare () - or - Converts a quadratic equation of the form a • x +b • x+c=d into the form a • (x-h) The first argument must be a quadratic expression or equation in standard form with respect to the second argument. The Second argument must be a single univariate term or a single univariate term raised to a rational power, for example...
Page 33
Catalog > CopyVar CopyVar Var1 , Var2 CopyVar Var1 ., Var2 . Var1 , Var2 copies the value of CopyVar variable Var1 to variable Var2 , creating Var2 if necessary. Variable Var1 must have a value. If Var1 is the name of an existing user- defined function, copies the definition of that function to function Var2 .
Page 34
Catalog > ► ► reduces all powers of sin(...) modulo 1 − cos(...)^2 so that any remaining powers of cos(...) have exponents in the range (0, 2). Thus, the result will be free of sin(...) if and only if sin(...) occurs in the given expression only to even powers.
Page 35
µ cos() When a scalar function f(A) operates on squareMatrix1 (A), the result is calculated by the algorithm: Compute the eigenvalues ( λ ) and eigenvectors (V ) of A. squareMatrix1 must be diagonalizable. Also, it cannot have symbolic variables that have not been assigned a value.
Page 36
µ ⁻ ¹ cos ⁻¹ ( squareMatrix1 ) ⇒ squareMatrix In Radian angle mode and Rectangular Complex Format: Returns the matrix inverse cosine of squareMatrix1 . This is not the same as calculating the inverse cosine of each element. For information about the calculation method, refer to cos() .
Page 37
⁻ ¹ Catalog > cosh ⁻¹ ( List1 ) returns a list of the inverse cosh hyperbolic cosines of each element of List1 . You can insert this function from the Note: keyboard by typing arccosh( ... ) . cosh ⁻¹ ( squareMatrix1 ) ⇒ squareMatrix In Radian angle mode and In Rectangular Complex Format: Returns the matrix inverse hyperbolic...
Page 38
µ cot⁻¹() The result is returned as a degree, Note: gradian or radian angle, according to the In Radian angle mode: current angle mode setting. You can insert this function from the Note: keyboard by typing arccot( ... ) . Catalog >...
Page 39
Catalog > count() Within the Lists & Spreadsheet application, you can use a range of cells in place of any argument. Empty (void) elements are ignored. For more information on empty elements, see page 232. Catalog > countif() countif( List , Criteria ) ⇒ value Returns the accumulated count of all Counts the number of elements equal to 3.
Page 40
Catalog > cPolyRoots() cPolyRoots( Poly , Var ) ⇒ list cPolyRoots( ListOfCoeffs ) ⇒ list The first syntax, cPolyRoots( Poly , Var ) , returns a list of complex roots of polynomial Poly with respect to variable Var . Poly must be a polynomial in one variable. The second syntax, cPolyRoots , returns a list of complex ListOfCoeffs...
Page 41
µ csc() In Radian angle mode: µ ⁻ ¹ csc ⁻¹ ( Expr1 ) ⇒ expression In Degree angle mode: csc ⁻¹ ( List1 ) ⇒ list Returns the angle whose cosecant is Expr1 or returns a list containing the inverse In Gradian angle mode: cosecants of each element of List1 .
Page 42
Catalog > cSolve() cSolve( Equation , Var ) ⇒ Boolean expression cSolve( Equation , Var=Guess ) ⇒ Boolean expression cSolve( Inequality , Var ) ⇒ Boolean expression Returns candidate complex solutions of an equation or inequality for Var . The goal is to produce candidates for all real and non- real solutions.
Page 43
Catalog > cSolve() You should also use var _ for any other variables in Equation that might have unreal values. Otherwise, you may receive unexpected results. cSolve( Eqn1 and Eqn2 [and…], VarOrGuess1 , VarOrGuess2 [, … ]) ⇒ Boolean expression cSolve( SystemOfEqns , VarOrGuess1 , VarOrGuess2 [, …]) ⇒...
Page 44
Catalog > cSolve() You can also include solution variables that do not appear in the equations. These solutions show how families of solutions might contain arbitrary constants of the form c k , where k is an integer suffix from 1 £...
Page 45
Catalog > CubicReg 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.
Page 46
Catalog > cumulativeSum() cumulativeSum( Matrix1 ) ⇒ matrix Returns a matrix of the cumulative sums of the elements in Matrix1 . Each element is the cumulative sum of the column from top to bottom. An empty (void) element in List1 or Matrix1 produces a void element in the resulting list or matrix.
Page 47
Catalog > cZeros() Returns a list of candidate real and non-real values of Var that make Expr =0. cZeros() does this by computing Expr =0, Var , Var ) . ► list(cSolve( £ To see the entire result, press and then Otherwise, cZeros() is similar to zeros() .
Page 48
Catalog > cZeros() Complex zeros can include both real and non-real zeros, as in the example to the right. Each row of the resulting matrix represents an alternate zero, with the components ordered the same as the VarOrGuess list. To extract a row, index the matrix by [ row ]. Extract row 2: Simultaneous polynomials can have extra variables that have no values, but represent...
Page 49
Catalog > cZeros() If a system is neither polynomial in all of its variables nor linear in its unknowns, cZeros determines at most one zero using an approximate iterative method. To do so, the number of unknowns must equal the number of expressions, and all other variables in the expressions must simplify to numbers.
Page 50
Catalog > ► You can insert this operator from the Note: computer keyboard by typing @>DD . Returns the decimal equivalent of the argument expressed in degrees. The argument is a number, list, or matrix that is interpreted by the Angle mode setting in gradians, radians or degrees.
Page 51
Catalog > Define Var and Function cannot be the name of a system variable or built-in function or command. This form of Define is equivalent to Note: executing the expression: expression → Function ( Param1,Param2 ). Define Function ( Param1 , Param2 , ...) = Func Block EndFunc...
Page 52
Catalog > Define LibPriv ...) = 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. See also Define , page 50, and Define Note: , page 52.
Page 53
Catalog > DelVar DelVar Var1 [, Var2 ] [, Var3 ] ... 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 , page 193.
Page 54
Catalog > deSolve() the 1st derivative of the dependent variable with respect to the independent variable. • Use two prime symbols to denote the corresponding second derivative. The prime symbol is used for derivatives within deSolve() only. In other cases, use d The general solution of a 1st-order equation contains an arbitrary constant of the form k , where k is an integer suffix from 1...
Page 55
Catalog > deSolve() deSolve( 2ndOrderODE and initCond1 and initCond2 , Var , depVar ) ⇒ particular solution Returns a particular solution that satisfies 2nd Order ODE and has a specified value of the dependent variable and its first derivative at one point. For initCond1 , use the form: depVar ( initialIndependentValue ) = initialDependentValue...
Page 56
Catalog > det() computations are done using floating- point arithmetic. • Tolerance is omitted or not used, the default tolerance is calculated as: ⁻ • max(dim squareMatrix • rowNorm squareMatrix diag() Catalog > diag( List ) ⇒ matrix diag( rowMatrix ) ⇒ matrix diag( columnMatrix ) ⇒...
Page 57
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. Note for entering the example: instructions on entering multi-line program and function definitions, refer to the...
Page 58
Catalog > domain() domain( Expr1 , Var ) ⇒ expression Returns the domain of Expr1 with respect to Var . can be used to examine domains domain() of functions. It is restricted to real and finite domain. This functionality has limitations due to shortcomings of computer algebra simplification and solver algorithms.
Page 59
Catalog > dominantTerm() Returns the dominant term of a power series representation of Expr1 expanded about Point . The dominant term is the one whose magnitude grows most rapidly near Var = Point . The resulting power of ( Var − Point ) can have a negative and/or fractional exponent.
Page 60
Catalog > dominantTerm() See also series() , page 157. Note: Catalog > dotP() dotP( List1 , List2 ) ⇒ expression 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.
Page 61
squareMatrix1 must be diagonalizable. The result always contains floating-point numbers. Catalog > eff() eff( nominalRate,CpY ) ⇒ value 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 >...
Page 62
Catalog > eigVl() Returns a list of the eigenvalues of a real or complex squareMatrix . squareMatrix is first balanced with similarity transformations until the row and column norms are as close to the same value as possible. The squareMatrix is then reduced to upper Hessenberg form and the £...
Page 63
EndLoop See Loop, page 108 . EndPrgm See Prgm, page 135 . EndTry See Try, page 187 . EndWhile See While, page 197 . euler () Catalog > euler( Expr , Var , depVar , { Var0, VarMax }, Differential equation: depVar0 , VarStep [, eulerStep ]) ⇒...
Page 64
Catalog > euler () ListOfExpr is a list of right-hand sides that System of equations: define the system of ODEs (corresponds to the order of dependent variables in ListOfDepVars ). with (0)=2 and (0)=5 Var is the independent variable. ListOfDepVars is a list of dependent variables.
Page 65
eval () Hub Menu Program to fade-in the red element Execute the program. 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...
Page 66
Catalog > Exit is not allowed outside the three looping Exit structures ( For , While , or Loop ). Note for entering the example: instructions on entering multi-line program and function definitions, refer to the Calculator section of your product guidebook.
Page 67
exp() 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.
Page 68
Catalog > expand() Expr1 , Var returns Expr1 expand( expanded with respect to Var . Similar powers of Var are collected. The terms and their factors are sorted with Var as the main variable. There might be some incidental factoring or expansion of the collected coefficients.
Page 69
Catalog > ExpReg ExpReg X, Y [ , [ Freq ] [ , Category, Include ]] Computes the exponential regression y = a • on lists X and Y with frequency Freq . A summary of results is stored in the stat.results variable.
Page 70
Output Description variable List of data points in the modified Y List actually used in the regression based on stat.YReg restrictions of Freq Category List , and Include Categories List of frequencies corresponding to stat.XReg stat.YReg stat.FreqReg Catalog > factor() factor( Expr1 [, Var ]) ⇒...
Page 71
Catalog > factor() For the Auto setting of the Auto or mode, including Var permits Approximate approximation with floating-point coefficients where irrational coefficients cannot be explicitly expressed concisely in terms of the built-in functions. Even when there is only one variable, including Var might yield more complete factorization.
Page 72
Catalog > F Cdf() number if lowBound and upBound are numbers, list if lowBound and upBound are lists FCdf ( lowBound , upBound , dfNumer , dfDenom ) ⇒ number if lowBound and upBound are numbers, list if lowBound and upBound are lists Computes the F distribution probability between lowBound and upBound for the...
Page 73
Catalog > FiveNumSummary Category is a list of numeric category codes for the corresponding X 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.
Page 74
Catalog > fMax() fMax( Expr , Var ) | lowBound≤Var≤upBound Returns a Boolean expression specifying candidate values of Var that maximize Expr or locate its least upper bound. You can use the constraint (“|”) operator to restrict the solution interval and/or specify other constraints.
Page 75
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.
Page 76
Catalog > format() 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.
Page 77
Catalog > freqTable ► list() freqIntegerList must have the same dimension as List1 and must contain non- negative integer elements only. Each element specifies the number of times the corresponding List1 element will be repeated in the result list. A value of zero excludes the corresponding List1 element.
Page 79
Catalog > Func 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. Note for entering the example: instructions on entering multi-line program and function definitions, refer to the Result of graphing g(x)
Page 80
Catalog > geomCdf() if lowBound and upBound are numbers, list if lowBound and upBound are lists 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 .
Page 81
Hub Menu 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.
Page 82
Catalog > getLangInfo() English = “en” Danish = “da” German = “de” Finnish = “fi” French = “fr” Italian = “it” Dutch = “nl” Belgian Dutch = “nl_BE” Norwegian = “no” Portuguese = “pt” Spanish = “es” Swedish = “sv” getLockInfo() Catalog >...
Page 83
Catalog > getMode() If you save the settings with getMode(0) → var , you can use in a function setMode( or program to temporarily restore the settings within the execution of the function or program only. See setMode() , page 158. Mode Mode Name...
Page 84
GetStr Hub Menu [, statusVar ] Programming command: Operates identically to the Get command, except that the retrieved value is always interpreted as a string. By contrast, the Get command interprets the response as an expression unless it is enclosed in quotation marks (""). See also Get , page 80 and Send , page Note: 155.
Page 85
Catalog > getVarInfo() Note the example, in which the result of is assigned to variable vs . getVarInfo() Attempting to display row 2 or row 3 of vs returns an “Invalid list or matrix” error because at least one of elements in those rows (variable b , for example) revaluates to a matrix.
Page 86
Catalog > identity() Integer ) ⇒ matrix identity( Returns the identity matrix with a dimension of Integer . Integer must be a positive integer. Catalog > BooleanExpr Statement BooleanExpr Then Block EndIf BooleanExpr evaluates to true, executes the single statement Statement or the block of statements Block before continuing...
Page 87
Catalog > Block1 and Block2 can be a single statement. If BooleanExpr1 Then Block1 ElseIf BooleanExpr2 Then Block2 ⋮ ElseIf BooleanExprN Then BlockN EndIf Allows for branching. If BooleanExpr1 evaluates to true, executes Block1 . If BooleanExpr1 evaluates to false, evaluates BooleanExpr2 , and so on.
Page 88
Catalog > ifFn() If the simplified BooleanExpr Note: statement involves a list or matrix, all other list or matrix arguments must have the Value_If_false is not specified. Undef is same dimension(s), and the result will have used. the same dimension(s). One element selected from Value_If_true One element selected from...
Page 89
Catalog > inString() inString( srcString , subString [, Start ]) ⇒ integer 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.
Page 90
integral ∫ () , page 217 . Catalog > interpolate () interpolate( xValue , xList , yList , Differential equation: yPrimeList ) ⇒ list '=-3 •y •t +5 and (0)=5 This function does the following: Given xList , yList = f( xList ) , and yPrimeList = for some unknown xList...
Page 91
Catalog > inv F () computes the Inverse cumulative F distribution function specified by dfNumer and dfDenom for a given Area under the curve. Catalog > invNorm() invNorm( Area [, μ [, σ ]]) Computes the inverse cumulative normal distribution function for a given Area under the normal distribution curve specified by μ...
Page 92
Catalog > irr() CFList is a list of cash flow amounts after the initial cash flow CF0. CFFreq is an optional list in which each element specifies the frequency of occurrence for a grouped (consecutive) cash flow amount, which is the corresponding element of CFList .
Page 93
Catalog > isVoid() For more information on void elements, see page 232. 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.
Page 94
Catalog > left() If you omit Num , returns all of sourceString . left( List1 [, Num ]) ⇒ list 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.
Page 95
Catalog > limit() or lim() limit( Expr1 , Var , Point [, Direction ]) ⇒ expression limit( List1 , Var , Point [, Direction ]) ⇒ list limit( Matrix1 , Var , Point [, Direction ]) ⇒ matrix Returns the limit requested. See also Limit template , page 10.
Page 96
Catalog > LinRegBx Computes the linear regression y = a+b • x on lists X and Y with frequency Freq . A summary of results is stored in the stat.results variable. (See page 172.) All the lists must have equal dimension except for Include .
Page 97
Catalog > LinRegMx [ Freq ][ , Category , Include ]] LinRegMx Computes the linear regression 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 172.) All the lists must have equal dimension except for Include .
Page 98
Catalog > LinRegtIntervals LinRegtIntervals X , Y [, F [,0[, CLev ]]] For Slope. Computes a level C confidence interval for the slope. 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.
Page 99
Output variable Description stat.s Standard error about the line For Response type only 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, Prediction interval for a single observation stat.UpperPred] stat.MEPred Prediction interval margin of error...
Page 100
Catalog > LinRegtTest For H : β≠ 0 and ρ≠ 0 (default), set Hypoth =0 For H : β <0 and ρ <0, set Hypoth <0 For H : β >0 and ρ >0, set Hypoth >0 A summary of results is stored in the stat.results variable.
Page 101
Catalog > linSolve() Returns a list of solutions for the variables Var1 Var2 .. . 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 produces an “Argument and x=2,x) Error”...
Page 102
Catalog > ► Expr► ln ⇒ expression Causes the input Expr to be converted to an expression containing only natural logs (ln). You can insert this operator from the Note: computer keyboard by typing @>ln . keys ln() ln( Expr1 ) ⇒ expression ( List1 ) ⇒...
Page 103
Catalog > LnReg 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 ≥...
Page 104
Catalog > Local Local Var1 [, Var2 ] [, Var3 ] ... Declares the specified vars as local variables. Those variables exist only during evaluation of a function and are deleted when the function finishes execution. Local variables save memory because Note: they only exist temporarily.
Page 105
keys log() ⇒ expression Expr1 [ Expr2 ] log( ⇒ list List1 [ Expr2 ] log( Returns the base -Expr2 logarithm of the first argument. See also Log template , page 6. Note: If complex format mode is Real: For a list, returns the base -Expr2 logarithm of the elements.
Page 106
Catalog > Logistic Logistic X , Y [, [ Freq ] [, Category , Include ]] Computes the logistic regression y = (c/ (1+a • e )) on lists X and Y with frequency Freq . A summary of results is stored in the stat.results variable.
Page 107
Catalog > LogisticD LogisticD X , Y [, [ Iterations ] , [ Freq ] [, Category , Include ] ] Computes the logistic regression y = (c/ (1+a • e )+d) on lists X and Y with frequency Freq , using a specified number of Iterations .
Page 108
Catalog > Loop 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: instructions on entering multi-line program and function definitions, refer to the...
Page 109
Catalog > The LU factorization algorithm uses partial pivoting with row interchanges. list() Catalog > ► mat ► list( Matrix ) ⇒ list Returns a list filled with the elements in Matrix . The elements are copied from Matrix row by row. You can insert this function from the Note: computer keyboard by typing mat@>list...
Page 110
Catalog > max() Empty (void) elements are ignored. For more information on empty elements, see page 232. See also fMax() and min(). Note: mean() Catalog > mean( List [, freqList ]) ⇒ expression Returns the mean of the elements in List . Each freqList element counts the number of consecutive occurrences of the corresponding element in List .
Page 111
Catalog > median() Notes: • All entries in the list or matrix must simplify to numbers. • Empty (void) elements in the list or matrix are ignored. For more information page 232 . on empty elements, see MedMed Catalog > MedMed X , Y [, Freq ] [, Category , Include ]] Computes the median-median line y = (m •...
Page 112
Output Description variable stat.Resid Residuals from the median-median line List of data points in the modified X List actually used in the regression based on stat.XReg restrictions of Freq Category List , and Include Categories List of data points in the modified Y List actually used in the regression based on stat.YReg...
Page 113
Catalog > min() min( Expr1 , Expr2 ) ⇒ expression min( List1, List2 ) ⇒ list min( Matrix1, Matrix2 ) ⇒ matrix Returns the minimum of the two arguments. If the arguments are two lists or matrices, returns a list or matrix containing the minimum value of each pair of corresponding elements.
Page 114
Catalog > mirr() See also irr() , page 91. Note: Catalog > mod() mod( Expr1 , Expr2 ) ⇒ expression mod( List1 , List2 ) ⇒ list mod( Matrix1 , Matrix2 ) ⇒ matrix Returns the first argument modulo the second argument as defined by the identities: mod(x,0) = x...
Page 115
Catalog > MultReg MultReg Y , X1 [, X2 [, X3 ,…[, X10 ]]] Calculates multiple linear regression of list Y on lists X1 , X2 , …, X10 . A summary of results is stored in the stat.results variable. (See page 172.) All the lists must have equal dimension.
Page 116
Output variable Description stat.CLower, stat.CUpper Confidence interval for a mean response stat.ME Confidence interval margin of error stat.SE Standard error of mean response stat.LowerPred, Prediction interval for a single observation stat.UpperrPred stat.MEPred Prediction interval margin of error stat.SEPred Standard error for prediction stat.bList List of regression coefficients, {b0,b1,b2,...} stat.Resid...
Page 117
Output Description variable stat.dfReg Regression degrees of freedom stat.SSReg Regression sum of squares stat.MSReg Regression mean square stat.dfError Error degrees of freedom stat.SSError Error sum of squares stat.MSError Error mean square stat.bList {b0,b1,...} List of coefficients stat.tList List of t statistics, one for each coefficient in the bList stat.PList List P-values for each t statistic stat.SEList...
Page 118
keys nand Integer1 nand Integer2 ⇒ integer Compares two real integers bit-by-bit using a nand operation. Internally, both integers are converted to signed, 64-bit binary numbers. When corresponding bits are compared, the result is 1 if both bits are 1; otherwise, the result is 0.
Page 119
Catalog > nCr() Returns a matrix of combinations based on the corresponding element pairs in the two matrices. The arguments must be the same size matrix. Catalog > nDerivative() nDerivative( Expr1 , Var=Value [, Order ]) ⇒ value nDerivative( Expr1 , Var [, Order ]) Var=Value ⇒...
Page 120
Catalog > nfMax() 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.
Page 121
Catalog > nInt() The goal is six significant digits. The adaptive algorithm terminates when it seems likely that the goal has been achieved, or when it seems unlikely that additional samples will yield a worthwhile improvement. A warning is displayed (“Questionable accuracy”) when it seems that the goal has not been achieved.
Page 122
keys Integer1 nor Integer2 ⇒ integer Compares two real integers bit-by-bit using a nor operation. Internally, both integers are converted to signed, 64-bit binary numbers. When corresponding bits are compared, the result is 1 if both bits are 1; otherwise, the result is 0. The returned value represents the bit results, and is displayed according to the Base mode.
Page 123
Catalog > normCdf() normCdf( lowBound , upBound [, μ [, σ ]]) ⇒ number if lowBound and upBound are numbers, list if lowBound and upBound are lists Computes the normal distribution probability between lowBound and upBound for the specified μ (default=0) and σ (default=1). For P(X ≤...
Page 124
Catalog > nPr() nPr( Expr1 , Expr2 ) ⇒ expression For integer Expr1 and Expr2 with Expr1 ≥ Expr2 ≥ 0, is the number of nPr() permutations of Expr1 things taken Expr2 at a time. Both arguments can be integers or symbolic expressions.
Page 125
Catalog > npv() CFFreq is a list in which each 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.
Page 126
Catalog > nSolve() See also cSolve() , cZeros() , solve() , Note: and zeros() . OneVar Catalog > OneVar [1,] X [,[ Freq ][, Category , Include ]] OneVar [ n ,] X1 , X2 [ X3 [,…[, X20 ]]] Calculates 1-variable statistics on up to 20 lists.
Page 127
Output variable Description stat.sx Sample standard deviation of x stat. σ Population standard deviation of x stat.n Number of data points stat.MinX Minimum of x values stat.Q 1st Quartile of x stat.MedianX Median of x stat.Q 3rd Quartile of x stat.MaxX Maximum of x values stat.SSX...
Page 128
Catalog > Compares two real integers bit-by-bit using Note: A binary entry can have up to 64 digits an or operation. Internally, both integers (not counting the 0b prefix). A hexadecimal are converted to signed, 64-bit binary entry can have up to 16 digits. numbers.
Page 129
Catalog > ► Rx() The θ argument is interpreted as Note: either a degree, gradian or radian angle, according to the current angle mode. If the argument is an expression, you can use ° , to override the angle mode setting temporarily.
Page 130
Catalog > PassErr See also ClrErr , page 29, and Try , page Note: 187. Note for entering the example: instructions on entering multi-line program and function definitions, refer to the Calculator section of your product guidebook. Catalog > piecewise() piecewise( Expr1 [, Cond1 [, Expr2 [, Cond2 [, …...
Page 131
Catalog > ► Polar Vector ► Polar You can insert this operator from the Note: computer keyboard by typing @>Polar . Displays vector in polar form [r ∠ θ ]. The vector must be of dimension 2 and can be a row or a column.
Page 132
Catalog > polyCoeffs() polyDegree() Catalog > polyDegree( Poly [, Var ]) ⇒ value Returns the degree of polynomial expression Poly with respect to variable Var . If you omit Var , the polyDegree() Constant polynomials function selects a default from the variables contained in the polynomial Poly .
Page 133
Catalog > polyGcd() polyGcd( Expr1 , Expr2 ) ⇒ expression Returns greatest common divisor of the two arguments. Expr1 and Expr2 must be polynomial expressions. List, matrix, and Boolean arguments are not allowed. Catalog > polyQuotient() polyQuotient( Poly1 , Poly2 [, Var ]) ⇒ expression Returns the quotient of polynomial Poly1 divided by polynomial Poly2 with respect to...
Page 134
Catalog > polyRemainder() Catalog > polyRoots() polyRoots( Poly , Var ) ⇒ list 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: { }.
Page 135
Catalog > PowerReg Category is a list of 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.
Page 136
Catalog > Prgm Note for entering the example: instructions on entering multi-line program and function definitions, refer to the Calculator section of your product guidebook. prodSeq() Π (), page 219 . Product (PI) (), page 219 . Π Catalog > product() product( List [, Start [, End ]]) ⇒...
Page 137
Catalog > propFrac() rational_expression , Var returns propFrac( 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.
Page 138
Catalog > computations are done using floating- point arithmetic. • is omitted or not used, the default tolerance is calculated as: − • max(dim( Matrix • rowNorm Matrix The QR factorization is computed numerically using Householder transformations. The symbolic solution is computed using Gram-Schmidt.
Page 139
Catalog > QuadReg 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 140
Catalog > QuartReg Category is a list of 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.
Page 141
Catalog > ► θ Catalog > ► Pr() R ► Pr ( xExpr , yExpr ) ⇒ expression In Radian angle mode: R ► Pr ( xList , yList ) ⇒ list R ► Pr ( xMatrix , yMatrix ) ⇒ matrix Returns the equivalent r-coordinate of the ( x,y ) pair arguments.
Page 142
Catalog > randBin() randBin( n , p ) ⇒ expression randBin( n , p , #Trials ) ⇒ list returns a random real number randBin( from a specified Binomial distribution. returns a list randBin( #Trials containing #Trials random real numbers from a specified Binomial distribution.
Page 143
Catalog > randNorm() randNorm( μ , σ ) ⇒ expression randNorm( μ , σ , #Trials ) ⇒ list μ σ returns a decimal number randNorm( from the specified normal distribution. It could be any real number but will be heavily concentrated in the interval [ μ−...
Page 144
Catalog > real() real( Expr1 ) ⇒ expression Returns the real part of the argument. All undefined variables are treated as Note: real variables. See also imag() , page 88. real( List1 ) ⇒ list Returns the real parts of all elements. real( Matrix1 ) ⇒...
Page 145
Catalog > ref() ref( Matrix1 [, Tol ]) ⇒ matrix Returns the 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.
Page 146
Catalog > remain() remain( Expr1 , Expr2 ) ⇒ expression remain( List1 , List2 ) ⇒ list remain( Matrix1 , Matrix2 ) ⇒ matrix Returns the remainder of the first argument with respect to the second argument as defined by the identities: remain(x,0) x remain(x,y) x −...
Page 147
Catalog > Request The optional statusVar argument gives the Define a program: program a way to determine how the user Define polynomial()=Prgm dismissed the dialog box. Note that Request "Enter a polynomial in statusVar requires the DispFlag argument. x:",p(x) Disp "Real roots are:",polyRoots (p(x),x) •...
Page 148
Catalog > RequestStr Programming command: Operates Define requestStr_demo()=Prgm RequestStr “Your name:”,name,0 identically to the first syntax of the Request Disp “Response has “,dim(name),” command, except that the user’s response characters.” is always interpreted as a string. By EndPrgm contrast, the Request command interprets the response as an expression unless the user encloses it in quotation marks (““).
Page 149
Catalog > right() Returns the rightmost Num elements contained in List1 . If you omit Num , returns all of List1 . right( sourceString [, Num ]) ⇒ string Returns the rightmost Num characters contained in character string sourceString . If you omit Num , returns all of sourceString .
Page 150
Catalog > rk23 () ListOfExpr is a list of right-hand sides that define the system of ODEs (corresponds to order of dependent variables in ListOfDepVars ). with (0)=2 and (0)=5 Var is the independent variable. ListOfDepVars is a list of dependent variables.
Page 151
Catalog > rotate() Rotates the bits in a binary integer. You can enter Integer1 in any number base; it is converted automatically to a signed, 64-bit binary form. If the magnitude of Integer1 is too large for this form, a symmetric modulo £...
Page 152
Catalog > round() round( Expr1 [, digits ]) ⇒ expression Returns the argument rounded to the specified number of digits after the decimal point. digits must be an integer in the range 0– 12. If digits is not included, returns the argument rounded to 12 significant digits.
Page 153
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 .
Page 154
µ sec() The argument is interpreted as a Note: degree, gradian or radian angle, according to the current angle mode setting. You can use ° , , or to override the angle mode temporarily. µ ⁻ ¹ sec ⁻¹ ( Expr1 ) ⇒ expression In Degree angle mode: sec ⁻¹...
Page 155
Send Hub Menu Send exprOrString1 [, exprOrString2 ] ... Example: Turn on the blue element of the built-in RGB LED for 0.5 seconds. Programming command: Sends one or more TI-Innovator™ Hub commands to a connected hub. exprOrString must be a valid TI-Innovator™ Example: Request the current value of the Hub Command.
Page 156
Catalog > seqGen() seqGen( Expr , Var , depVar , { Var0 , Generate the first 5 terms of the sequence VarMax }[, ListOfInitTerms /2, with (1)= 2 and VarStep = 1 . [, VarStep [, CeilingValue ]]]) ⇒ list Generates a list of terms for sequence depVar ( Var )= Expr as follows: Increments independent variable Var from Var0...
Page 157
Catalog > seqn() Generates a list of terms for a sequence u ( n )= Expr ( u , n ) as follows: Increments n from 1 through nMax by 1, evaluates u ( n ) for corresponding values of n using the Expr ( u , n ) formula and ListOfInitTerms , and returns the results as a list.
Page 158
Catalog > series() Point defaults to 0. Point can be ∞ or −∞ , in which cases the expansion is through degree Order in 1/( Var − Point ). returns “ series(...) ” if it is unable series(...) to determine such a representation, such as for essential singularities such as sin(1/z) at z=0, e at z=0, or e...
Page 159
Catalog > setMode() setMode( modeNameInteger settingInteger temporarily sets mode modeNameInteger to the new setting settingInteger , and returns an integer corresponding to the original setting of that mode. The change is limited to the duration of the program/function’s execution. modeNameInteger specifies which mode you want to set.
Page 160
Mode Mode Name Integer Setting Integers Angle =Radian, 2 =Degree, 3 =Gradian Exponential =Normal, 2 =Scientific, 3 =Engineering Format Real or =Real, 2 =Rectangular, 3 =Polar Complex Auto or =Auto, 2 =Approximate, 3 =Exact Approx. Vector =Rectangular, 2 =Cylindrical, 3 =Spherical Format Base =Decimal, 2 =Hex, 3 =Binary...
Page 161
Catalog > shift() 0b00000000000000111101011000011010 The result is displayed according to the Base mode. Leading zeros are not shown. shift( List1 [, #ofShifts ]) ⇒ list In Dec base mode: Returns a copy of List1 shifted right or left by #ofShifts elements. Does not alter List1 . If #ofShifts is positive, the shift is to the left.
Page 162
Catalog > simult() simult( coeffMatrix , constVector [, Tol ]) ⇒ Solve for x and y: matrix x + 2y = 1 3x + 4y = − Returns a column vector that contains the solutions to a system of linear equations. Note: See also linSolve() , page 100.
Page 163
Catalog > ► Represents Expr in terms of sine. This is a display conversion operator. It can be used only at the end of the entry line. reduces all powers of ► cos(...) modulo 1 − sin(...)^2 so that any remaining powers of sin(...) have exponents in the range (0, 2).
Page 164
µ sin() Returns the matrix sine of squareMatrix1 . This is not the same as calculating the sine of each element. For information about the calculation method, refer to cos() . squareMatrix1 must be diagonalizable. The result always contains floating-point numbers.
Page 165
Catalog > sinh() List1 returns a list of the hyperbolic sinh ( sines of each element of List1 . sinh( squareMatrix1 ) ⇒ squareMatrix In Radian angle mode: Returns the matrix hyperbolic sine of squareMatrix1 . This is not the same as calculating the hyperbolic sine of each element.
Page 166
Catalog > SinReg All the lists must have equal dimension except for Include . 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.
Page 167
Catalog > solve() solve( Equation , Var ) ⇒ Boolean expression solve( Equation , Var=Guess ) ⇒ Boolean expression solve( Inequality , Var ) ⇒ Boolean expression Returns candidate real solutions of an equation or an inequality for Var . The goal is to return candidates for all solutions.
Page 168
Catalog > solve() false is returned when no real solutions are found. true is returned if solve() can determine that any finite real value of Var satisfies the equation or inequality. Since solve() always returns a Boolean result, you can use “and,” “or,” and “not” to combine results from solve() with each other or with other Boolean expressions.
Page 169
Catalog > solve() You can separate the equations with the operator, or you can enter a SystemOfEqns using a template from the Catalog. The number of VarOrGuess arguments must match the number of equations. Optionally, you can specify an initial guess for a variable. Each VarOrGuess must have the form: variable –...
Page 170
Catalog > solve() For polynomial systems, computation time or memory exhaustion may depend strongly on the order in which you list solution variables. If your initial choice exhausts memory or your patience, try rearranging the variables in the equations and/or varOrGuess list.
Page 171
Catalog > SortA Empty (void) elements within the first argument move to the bottom. For more information on empty elements, see page 232. Catalog > SortD SortD List1 [, List2 ][, List3 ]... SortD Vector1 [, Vector2 ][, Vector3 ]... Identical to SortA , except SortD sorts the elements in descending order.
Page 172
Catalog > ► Sphere Catalog > sqrt() sqrt( Expr1 ) ⇒ expression sqrt( List1 ) ⇒ list Returns the square root of the argument. For a list, returns the square roots of all the elements in List1 . See also Square root template , page Note: Catalog >...
Page 174
Catalog > stDevPop() stDevPop( List [, freqList ]) ⇒ expression 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.
Page 175
Catalog > stDevSamp() stDevSamp( Matrix1 [, freqMatrix ]) ⇒ matrix 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 . Matrix1 must have at least two rows.
Page 177
Catalog > sumIf() List can be an expression, list, or matrix. SumList , if specified, must have the same dimension(s) as List . Criteria can be: • A value, expression, or string. For example, 34 accumulates only those elements in List that simplify to the value 34.
Page 178
Catalog > T (transpose) Matrix1 T ⇒ matrix Returns the complex conjugate transpose of Matrix1 . You can insert this operator from the Note: computer keyboard by typing @t . µ tan() Expr1 ) ⇒ expression tan( In Degree angle mode: List1 ) ⇒...
Page 179
µ tan() squareMatrix1 must be diagonalizable. The result always contains floating-point numbers. µ ⁻ ¹ tan ⁻¹ ( Expr1 ) ⇒ expression In Degree angle mode: tan ⁻¹ ( List1 ) ⇒ list ⁻¹ returns the angle whose Expr1 tangent is Expr1 as an expression. In Gradian angle mode: ⁻¹...
Page 180
Catalog > tangentLine() Make sure that the independent variable is not defined. For example, If f1(x):=5 and x:=3, then tangentLine( f1(x),x,2 ) returns “false.” Catalog > tanh() tanh( Expr1 ) ⇒ expression tanh( List1 ) ⇒ list Expr1 returns the hyperbolic tangent tanh( of the argument as an expression.
Page 181
⁻ ¹ Catalog > tanh Returns the matrix inverse hyperbolic tangent of squareMatrix1 . This is not the same as calculating the inverse hyperbolic tangent of each element. For information about the calculation method, refer to cos squareMatrix1 must be diagonalizable. The £...
Page 182
Catalog > tCollect() tCollect( Expr1 ) ⇒ expression Returns an expression in which products and integer powers of sines and cosines are converted to a linear combination of sines and cosines of multiple angles, angle sums, and angle differences. The transformation converts trigonometric polynomials into a linear combination of their harmonics.
Page 183
Catalog > Text Text promptString [, DispFlag ] Define a program that pauses to display each of five random numbers in a dialog Programming command: Pauses the box. program and displays the character string promptString in a dialog box. Within the Prgm...EndPrgm template, complete each line by pressing instead When the user selects OK , program...
Page 184
Catalog > tInterval For information on the effect of empty elements in a list, see “Empty (Void) Elements,” page 232. 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...
Page 185
Output variable Description stat. v 1, stat. v 2 Sample means of the data sequences from the normal random distribution stat. σ x1, stat. σ Sample standard deviations for List 1 List 2 stat.n1, stat.n2 Number of samples in data sequences The pooled standard deviation.
Page 186
Catalog > Δ tmpCnv() To enter ° , select it from the Symbol Palette or type @d . To type _ , press 1_ ° C and 1_ ° K have the same magnitude, as do 1_ ° F and 1_ ° R. However, 1_ ° C is 9/5 as large as 1_ °...
Page 187
Catalog > 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 188
Catalog > tTest tTest μ0 , List [, Freq [, Hypoth ]] (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 σ...
Page 189
Catalog > tTest_2Samp Computes a two-sample t test. A summary of results is stored in the stat.results variable. (See page 172.) Test H : μ 1 = μ 2, against one of the following: For H : μ 1< μ 2, set Hypoth <0 For H : μ...
Page 190
Catalog > tvmI() Financial function that calculates the interest rate per year. Arguments used in the TVM functions Note: are described in the table of TVM arguments, page 191. See also amortTbl() , page 12. Catalog > tvmN() tvmN( I , PV , Pmt , FV ,[ PpY ],[ CpY ],[ PmtAt ]) ⇒...
Page 191
Description Data type argument* Number of payment periods real number Annual interest rate real number Present value real number Payment amount real number Future value real number Payments per year, default=1 integer > 0 Compounding periods per year, default=1 integer > 0 PmtAt Payment due at the end or beginning of each period, integer (0=end,...
Page 192
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.
Page 193
Output variable Description stat.MaxY Maximum of y values stat. (x- v ) Σ Sum of squares of deviations from the mean of x stat. Σ (y- w ) Sum of squares of deviations from the mean of y unitV() Catalog > unitV( Vector1 ) ⇒...
Page 194
Catalog > varPop() List [, freqList ]) ⇒ expression varPop( Returns the population variance of List . Each freqList element counts the number of consecutive occurrences of the corresponding element in List . List must contain at least two Note: elements.
Page 195
Catalog > varSamp() If an element in either matrix is empty (void), that element is ignored, and the corresponding element in the other matrix is also ignored. For more information on empty elements, see page 232. Matrix1 must contain at least two Note: rows.
Page 196
Catalog > warnCodes () warnCodes( Expr1 , StatusVar ) ⇒ expression Evaluates expression Expr1 , returns the result, and stores the codes of any generated warnings in the StatusVar list variable. If no warnings are generated, this function assigns StatusVar an empty list. £...
Page 197
Catalog > While While Condition Block EndWhile Executes the statements in Block as long as Condition is true. Block can be either a single statement or a sequence of statements separated with the “:” character. Note for entering the example: instructions on entering multi-line program and function definitions, refer to the Calculator section of your product...
Page 198
Catalog > You can enter the integers in any number Note: A binary entry can have up to 64 digits base. For a binary or hexadecimal entry, you (not counting the 0b prefix). A hexadecimal must use the 0b or 0h prefix, respectively. entry can have up to 16 digits.
Page 199
Catalog > zeros() variable – or – variable = real or non - real number For example, x is valid and so is x=3. If all of the expressions are polynomials and if you do NOT specify any initial guesses, uses the lexical Gröbner/Buchberger zeros() elimination method to attempt to...
Page 200
Catalog > zeros() If you do not include any guesses and if any expression is non-polynomial in any variable but all expressions are linear in the unknowns, zeros() uses Gaussian elimination to attempt to determine all real zeros. If a system is neither polynomial in all of its variables nor linear in its unknowns, zeros() determines at most one zero using an approximate iterative method.
Page 201
Output variable Description stat.n Length of the data sequence with sample mean stat. Known population standard deviation for data sequence σ List zInterval_1Prop Catalog > zInterval_1Prop x , n [, CLevel ] Computes a one-proportion z confidence interval. A summary of results is stored in the stat.results variable.
Page 202
Output variable Description stat. Ç 1 First sample proportion estimate stat. Ç 2 Second sample proportion estimate stat.n1 Sample size in data sequence one stat.n2 Sample size in data sequence two zInterval_2Samp Catalog > zInterval_2Samp σ , σ , List1 , List2 [, Freq1 [, Freq2 ,[ CLevel ]]] (Data list input) zInterval_2Samp σ...
Page 203
Catalog > zTest (Data list input) zTest μ0 , σ ,v, n [, Hypoth ] (Summary stats input) Performs a z test with frequency freqlist . A summary of results is stored in the stat.results variable. (See page 172.) Test H : μ...
Page 204
Catalog > zTest_2Prop Computes a two-proportion z test. A summary of results is stored in the stat.results variable. (See page 172.) x1 and x2 are non-negative integers. Test H : p1 = p2 , against one of the following: For H : p1 >...
Page 205
Catalog > zTest_2Samp For information on the effect of empty elements in a list, see “Empty (Void) Elements,” page 232. Output variable Description stat.z Standard normal value computed for the difference of means stat.PVal Smallest level of significance at which the null hypothesis can be rejected Sample means of the data sequences in List1 List2...
Symbols + (add) Expr1 + Expr2 ⇒ expression 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.
Page 207
(subtract) − 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. Expr − List1 ⇒ list List1 − Expr ⇒ list Subtracts each List1 element from Expr or subtracts Expr from each List1 element, and returns a list of the results.
Page 208
(multiply) • Expr •List1 ⇒ list List1•Expr ⇒ list Returns a list containing the products of Expr and each element in List1 . Expr •Matrix1 ⇒ matrix Matrix1•Expr ⇒ matrix Returns a matrix containing the products of Expr and each element in Matrix1 . Use .
Page 209
(divide) ⁄ Use . ⁄ (dot divide) to divide an Note: expression by each element. ^ (power) Expr1 ^ Expr2⇒ expression List1 ^ List2 ⇒ list Returns the first argument raised to the power of the second argument. See also Exponent template , page 5. Note: For a list, returns the elements in List1 raised to the power of the corresponding...
Page 210
(square) ⇒ expression Expr1 Returns the square of the argument. ⇒ list List1 Returns a list containing the squares of the elements in List1 . ⇒ matrix squareMatrix1 Returns the matrix square of squareMatrix1 . This is not the same as calculating the square of each element.
Page 211
keys (dot mult.) • Matrix1 . • Matrix2⇒ matrix Expr . • Matrix1 ⇒ matrix • Matrix2 returns a matrix that is Matrix1 the product of each pair of corresponding elements in Matrix1 and Matrix2 . Expr • Matrix1 returns a matrix containing the products of Expr and each element in Matrix1 .
Page 212
(negate) − Returns the negation of the argument. In Bin base mode: For a list or matrix, returns all the elements Important: Zero, not the letter O. negated. If the argument is a binary or hexadecimal integer, the negation gives the two’s complement.
Page 213
= (equal) Note for entering the example: 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 ⇒...
Page 214
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 .
Page 215
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 .
Page 216
⇔ keys (logical double implication, XNOR) 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.
Page 217
Catalog > () (derivative) d ( Expr1 , Var [, Order ]) ⇒ expression d ( List1 , Var [, Order ]) ⇒ list d ( Matrix1 , Var [, Order ]) ⇒ matrix Returns the first derivative of the first argument with respect to variable Var .
Page 218
Catalog > ∫ () (integral) Returns the integral of Expr1 with respect to the variable Var from Lower to Upper . See also Definite or Indefinite integral Note: , page 10. template You can insert this function from the Note: keyboard by typing integral( ...
Page 219
Catalog > ∫ () (integral) can be nested to do multiple integrals. ∫ Integration limits can depend on integration variables outside them. Note: See also nInt() , page 120. keys () (square root) √ √ ( Expr1 ) ⇒ expression √...
Page 220
Π () (prodSeq) Catalog > Π ( Expr1 , Var , Low , Low− 1) ⇒ 1 Π ( Expr1 , Var , Low , High ) ⇒ 1/ Π ( Expr1 , Var , High+1 , Low−1 ) if High < Low−1 The product formulas used are derived from the following reference: Ronald L.
Page 221
Catalog > Σ Int() Σ Int( NPmt1 , NPmt2 , N , I , PV ,[ Pmt ], [ FV ], [ PpY ], [ CpY ], [ PmtAt ], [ roundValue ]) ⇒ value Σ Int( NPmt1 , NPmt2 , amortTable ) ⇒ value Amortization function that calculates the sum of the interest during a specified range of payments.
Page 222
Catalog > Σ Prn() NPmt1 and NPmt2 define the start and end boundaries of the payment range. PV , Pmt , FV , PpY , CpY , and PmtAt are described in the table of TVM arguments, page 191. • If you omit , it defaults to =tvmPmt...
Page 223
(scientific notation) mantissa E exponent Enters a number in scientific notation. The number is interpreted as mantissa × 10 exponent Hint: If you want to enter a power of 10 without causing a decimal value result, use 10^ integer . You can insert this operator from the Note: computer keyboard by typing @E .
Page 224
(radian) ¹ This function gives you a way to specify a radian angle while in Degree or Gradian mode. In Degree angle mode, multiplies the argument by 180/ π . In Radian angle mode, returns the argument unchanged. In Gradian mode, multiplies the argument by 200/ π...
Page 225
keys , ', '' (degree/minute/second) ° dd A positive or negative number mm A non-negative number ss.ss A non-negative number Returns dd +( mm /60)+( ss.ss /3600). This base-60 entry format lets you: • Enter an angle in degrees/minutes/seconds without regard to the current angle mode.
Page 226
∠ keys (angle) º (prime) variable ' variable ' ' Enters a prime symbol in a differential equation. A single prime symbol denotes a 1st-order differential equation, two prime symbols denote a 2nd-order, and so on. See “Empty (Void) Elements,” _ (underscore as an empty element) page 232 .
Page 227
► keys (convert) _ Unit2 ⇒ Expr _ Unit2 ► Expr _ Unit1 Converts an expression from one unit to another. The _ underscore character designates the units. The units must be in the same category, such as Length or Area. For a list of pre-defined units, open the Catalog and display the Unit Conversions tab:...
Page 228
⁻ ¹ Catalog > (reciprocal) Expr1 ^ ⁻¹ ⇒ expression List1 ^ ⁻¹ ⇒ list Returns the reciprocal of the argument. For a list, returns the reciprocals of the elements in List1 . squareMatrix1 ^ ⁻¹ ⇒ squareMatrix Returns the inverse of squareMatrix1 . squareMatrix1 must be a non-singular square matrix.
Page 229
keys | (constraint operator) 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. Exclusions use the “not equals” (/= or ≠ ) relational operator to exclude a specific value from consideration.
Page 230
(store) → Hint: If you plan to do symbolic computations using undefined variables, avoid storing anything into commonly used, one-letter variables such as a, b, c, x, y, z, and so on. You can insert this operator from the Note: keyboard by typing =: as a shortcut.
Empty (Void) Elements When analyzing real-world data, you might not always have a complete data set. TI-Nspire™ CAS 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.
Page 233
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 · on the entry line. When you press , the expression sqrt(6) is changed to √...
Page 235
To enter this: Type this shortcut: , n2 , ... (integer constants) , @n2 , ... i (imaginary constant) e (natural log base e) (scientific notation) (transpose) (radians) ° (degrees) (gradians) ∠ (angle) @< ► (conversion) @> ► ► , and , @>approxFraction() , and Decimal approxFraction()
EOS™ (Equation Operating System) Hierarchy This section describes the Equation Operating System (EOS™) that is used by the TI-Nspire™ CAS 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.
Page 237
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 ).” Because the TI-Nspire™ CAS software allows you to define your own functions, a Note: variable name followed by an expression in parentheses is considered a “function call”...
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 187. Some error conditions apply only to TI-Nspire™ CAS products, and some apply Note: only to TI-Nspire™...
Page 239
Error Description code Break key was pressed during a long calculation or during program execution. 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.
Page 240
Error Description code Inconsistent units Index out of range Indirection string is not a valid variable name Undefined Ans Either the previous calculation did not create Ans, or no previous calculation was entered. Invalid assignment Invalid assignment value Invalid command Invalid for the current mode settings Invalid guess Invalid implied multiply...
Page 241
Error Description code Invalid table Invalid use of units Invalid variable name in a Local statement Invalid variable or function name Invalid variable reference Invalid vector syntax Link transmission A transmission between two units was not completed. Verify that the connecting cable is connected firmly to both ends.
Page 242
Error Description code To allow complex results, change the “Real or Complex” Mode Setting to RECTANGULAR or POLAR. Overflow Program not found A program reference inside another program could not be found in the provided path during execution. Rand type functions not allowed in graphing Recursion too deep Reserved name or system variable Argument error...
Page 244
Error Description code A pathname must be in the form , where: • part can have 1 to 16 characters. • part can have 1 to 15 characters. See the Library section in the documentation for more details. 1170 Invalid use of library pathname •...
Page 245
Error Description code 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.
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 196. Warning code Message...
Page 247
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. Specify constraint in the form "\" 'Variable MathTestSymbol Constant' or a conjunct of these forms, for example 'x<3 and x>-12' Warning Codes and Messages...
Support and Service Texas Instruments Support and Service General Information: North and South America education.ti.com Home Page: education.ti.com/support KnowledgeBase and e-mail inquiries: Phone: (800) TI-CARES / (800) 842-2737 For North and South America and U.S. Territories http://education.ti.com/en/us/customer- International contact information:...
Page 252
^, power _, unit designation |, constraint operator ′ ′ minute notation ′, prime +, add ≠, not equal ≤, less than or equal ≥, greater than or equal >, greater than =, equal ∏ ∏, product ∑ ∑( ), sum ∑Int( ) ∑Prn( ) √...
Page 253
► ►, convert units ►approxFraction( ) ►Base10, display as decimal integer ►Base16, display as hexadecimal ►Base2, display as binary ►cos, display in terms of cosine ►Cylind, display as cylindrical vector ►DD, display as decimal angle ►Decimal, display result as decimal ►DMS, display as degree/minute/second ►exp, display in terms of e ►Grad, convert to gradian angle ►Polar, display as polar vector...
Page 254
10^( ), power of ten 2-sample F Test abs( ), absolute value absolute value template for add, + amortization table, amortTbl( ) amortTbl( ), amortization table and, Boolean operator angle( ), angle angle, angle( ) ANOVA, one-way variance analysis ANOVA2way, two-way variance analysis Ans, last answer answer (last), Ans append, &...
Page 256
common denominator, comDenom( ) completeSquare( ), complete square complex conjugate, conj( ) factor, cFactor( ) solve, cSolve( ) zeros, cZeros( ) conj( ), complex conjugate constant in solve( ) constants in cSolve( ) in cZeros( ) in deSolve( ) in solve( ) in zeros( ) shortcuts for constraint operator "|" constraint operator, order of evaluation construct matrix, constructMat( ) constructMat( ), construct matrix convert...
Page 257
count( ), count items in a list countif( ), conditionally count items in a list cPolyRoots() cross product, crossP( ) crossP( ), cross product csc⁻¹( ), inverse cosecant csc( ), cosecant csch⁻¹( ), inverse hyperbolic cosecant csch( ), hyperbolic cosecant cSolve( ), complex solve cubic regression, CubicReg CubicReg, cubic regression cumulative sum, cumulativeSum( ) cumulativeSum( ), cumulative sum cycle, Cycle...
Page 258
deltaList() deltaTmpCnv() DelVar, delete variable delVoid( ), remove void elements denominator derivative or nth derivative template for derivative() derivatives first derivative, d( ) numeric derivative, nDeriv( ) 119-120 numeric derivative, nDerivative( ) deSolve( ), solution det( ), matrix determinant diag( ), matrix diagonal dim( ), dimension dimension, dim( ) Disp, display data display as binary, ►Base2...
Page 259
χ²GOF( ) χ²Pdf( ) divide, / domain function, domain( ) domain( ), domain function dominant term, dominantTerm( ) dominantTerm( ), dominant term addition, .+ division, ./ multiplication, .* power, .^ product, dotP( ) subtraction, .- dotP( ), dot product e exponent template for e to a power, e^( ) e, display expression in terms of E, exponent e^( ), e to a power...
Page 260
end loop, EndLoop 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 exact( ), exact exact, exact( )
Page 261
first derivative template for FiveNumSummary floor( ), floor floor, floor( ) fMax( ), function maximum fMin( ), function minimum for, For For, for format string, format( ) format( ), format string fpart( ), function part fractions propFrac template for freqTable( ) frequency( ) Frobenius norm, norm( ) Func, function Func, program function functions maximum, fMax( ) minimum, fMin( )
Page 262
getMode( ), get mode settings getNum( ), get/return number GetStr getType( ), get type of variable getVarInfo( ), get/return variables information go to, Goto Goto, go to gradian notation, g greater than or equal, ≥ greater than, > greatest common divisor, gcd( ) groups, locking and unlocking groups, testing lock status hexadecimal display, ►Base16...
Page 263
inString( ), within string int( ), integer intDiv( ), integer divide integer divide, intDiv( ) integer part, iPart( ) integer, int( ) integral, ∫ interpolate( ), interpolate inverse cumulative normal distribution (invNorm( ) inverse, ^⁻¹ invF( ) invNorm( ), inverse cumulative normal distribution) invt( ) Invχ²( ) iPart( ), integer part irr( ), internal rate of return internal rate of return, irr( ) isPrime( ), prime test isVoid( ), test for void...
Page 264
LinRegBx, linear regression LinRegMx, linear regression LinRegtIntervals, linear regression LinRegtTest linSolve() Δlist( ), list difference list to matrix, list►mat( ) list, conditionally count items in list, count items in list►mat( ), list to matrix lists augment/concatenate, augment( ) cross product, crossP( ) cumulative sum, cumulativeSum( ) differences in a list, Δlist( ) dot product, dotP( ) empty elements in...
Page 273
indirection, # left, left( ) mid-string, mid( ) right, right( ) 148-149 rotate, rotate( ) shift, shift( ) string to expression, expr( ) using to create variable names within, InString student-t distribution probability, tCdf( ) student-t probability density, tPdf( ) subMat( ), submatrix 176-177 submatrix, subMat( ) 176-177 substitution with "|" operator subtract, - sum of interest payments sum of principal payments...
Page 274
templates absolute value definite integral derivative or nth derivative e exponent exponent first derivative fraction indefinite integral limit matrix (1 × 2) matrix (2 × 1) matrix (2 × 2) matrix (m × n) nth root piecewise function (2-piece) piecewise function (N-piece) product, ∏( ) second derivative square root...
Page 275
tTest, t test tTest_2Samp, two-sample t test TVM arguments tvmFV( ) tvmI( ) tvmN( ) tvmPmt( ) tvmPV( ) two-variable results, TwoVar TwoVar, two-variable results underscore, _ unit vector, unitV( ) units convert unitV( ), unit vector unLock, unlock variable or variable group unlocking variables and variable groups user-defined functions user-defined functions and programs 51-52...
Page 276
Wait command warnCodes( ), Warning codes warning codes and messages when( ), when when, when( ) while, While While, while with, | within string, inString( ) x², square XNOR xor, Boolean exclusive or zeroes( ), zeroes zeroes, zeroes( ) zInterval, z confidence interval zInterval_1Prop, one-proportion z confidence interval zInterval_2Prop, two-proportion z confidence interval zInterval_2Samp, two-sample z confidence interval zTest...
Need help?
Do you have a question about the TI-Nspire CAS and is the answer not in the manual?
Questions and answers