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 #75 background imageLoading...
Page #75 background image
Using Calculator 63
Defining a program
Defining a program is similar to defining a multiple-line function. The
Prgm...EndPrgm template serves as a container for the program
statements.
As an example, create a program named
g(x,y) that compares two
arguments. Based on the comparison, the program should display the
text “x greater than y” or “x not greater than y” (showing the values of x
and y in the text).
1. On the Calculator entry line, type Define prog1(x,y)=. Do not press
Enter yet.
2. On the
Functions & Programs menu, select Prgm...EndPrgm.
Calculator inserts the template.
3. On the Functions & Programs menu, select Control, and then select
If...Then...Else...EndIf.
Calculator inserts the template.
4. Type the remaining parts of the function, using the arrow keys to
move the cursor from line to line.

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