EasyManua.ls Logo

Texas Instruments TINSPIRE - Page 429

Texas Instruments TINSPIRE
876 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
Loading...
Calculator 417
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 > y” or “x 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
· yet.
2. Insert the Prgm...EndPrgm template.
From the Functions & Programs menu, select Prgm...EndPrgm.
3. Insert the
If...Then...Else...EndIf template.
From the Functions & Programs menu, select Control, and then
select
If...Then...Else...EndIf.
4. Type the remaining parts of the function, using the arrow keys to
move the cursor from line to line. Use the Symbol Palette to type the
“ symbol.
5. Press · to complete the definition.

Table of Contents

Other manuals for Texas Instruments TINSPIRE

Related product manuals