EasyManuals Logo

Texas Instruments TI-Nspire Software Guide

Texas Instruments TI-Nspire
380 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #72 background imageLoading...
Page #72 background image
60 Using Calculator
Temporarily substituting a value for a variable
Use the “|” (such that) operator to assign a value to a variable for just a
single execution of the expression.
Creating user-defined functions and programs
You can use the Define command to create your own functions and
programs. You can create them in the Calculator application or in the
Program Editor and then use them in other TI-Nspire™ applications.
For information on programming with the Program Editor, see the
“Programming” and “Libraries” sections of the documentation.
Defining a single-line function
Suppose you want to define a function named cube() that calculates the
cube of a number or variable.
1. On the Calculator entry line, type
Define cube(x)=x^3 and press
Enter.
The message “Done” confirms that the function has been defined.
2. Type
cube(2) and press Enter to test the function.
Defining a multiple-line function using templates
You can define a function consisting of multiple statements entered on
separate lines. A multiple-line function may be easier to read than one
with multiple statements separated by colons.
Note: You can create multiple-line functions only by using the
Define
command. You cannot use the := or & operators to create multiple-line
definitions. The Func...EndFunc template serves as a container for the
statements.
a:=200.12 200.12
a
2
| a=100
10000
a 200.12

Table of Contents

Other manuals for Texas Instruments TI-Nspire

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-Nspire and is the answer not in the manual?

Texas Instruments TI-Nspire Specifications

General IconGeneral
TypeDisplay
Form factorPocket
Product colorBlue, White
Display resolution320 x 240 pixels
Display size (HxV) (imperial)0 \
Compatible operating systemsWindows Vista/XP Mac OS X 10.4/10.5
Battery typeAAA
Number of batteries supported4
Weight and Dimensions IconWeight and Dimensions
Dimensions (WxDxH)100 x 198.3 x 28.7 mm

Related product manuals