EasyManuals Logo

Texas Instruments TI-89 Titanium Short User Manual

Texas Instruments TI-89 Titanium
306 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 #203 background imageLoading...
Page #203 background image
Appendix A: Functions and Instructions 197
If
Boolean expression
Then
block1
Else
block2
EndIf
If
Boolean expression
evaluates to true, executes
block1
and then skips
block2
.
If
Boolean expression
evaluates to false, skips
block1
but executes
block2
.
block1
and
block2
can be a single statement.
Program segment:
©
:If x<0 Then
: Disp "x is negative"
: Else
: Disp "x is positive or
zero"
:EndIf
©
If
Boolean expression1
Then
block1
ElseIf
Boolean expression2
Then
block2
©
ElseIf
Boolean expressionN
Then
blockN
EndIf
Allows for program branching. If
Boolean
expression1
evaluates to true, executes
block1
. If
Boolean expression1
evaluates to false, evaluates
Boolean expression2
, etc.
Program segment:
©
:If choice=1 Then
: Goto option1
: ElseIf choice=2 Then
: Goto option2
: ElseIf choice=3 Then
: Goto option3
: ElseIf choice=4 Then
: Disp "Exiting Program"
: Return
:EndIf
©
imag() MATH/Complex menu
imag(
expression1
)
expression
imag(
expression1
) returns the imaginary part of
the argument.
Note: All undefined variables are treated as real
variables. See also
real().
imag(1+2
i
) ¸ 2
imag(z)
¸ 0
imag(x+
i
y) ¸ y
imag(
list1
)
list
Returns a list of the imaginary parts of the
elements.
imag({ë 3,4ë
i
,
i
}) ¸ {0 ë 1 1}
imag(
matrix1
)
matrix
Returns a matrix of the imaginary parts of the
elements.
imag([a,b;
i
c,
i
d]) ¸ [
0 0
c d
]
Indirection See #(), page 273.
Input CATALOG
Input
Pauses the program, displays the current Graph
screen, and lets you update variables
xc
and
yc
(also
rc
and q
c
for polar coordinate mode) by
positioning the graph cursor.
When you press ¸, the program resumes.
Program segment:
©
:¦ Get 10 points from the Graph
Screen
:For i,1,10
: Input
: xc! XLIST[i]
: yc! YLIST[i]
:EndFor
©

Table of Contents

Other manuals for Texas Instruments TI-89 Titanium

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments TI-89 Titanium Specifications

General IconGeneral
Display TypeLCD
Display Resolution160 x 100 pixels
CPUMotorola 68000
CPU Speed16 MHz
RAM256 KB
Flash ROM2.7 MB
Programming LanguageTI-BASIC, Assembly
Power Source4 AAA batteries
ConnectivityI/O port
Dimensions7.5 x 3.5 x 1 inches

Related product manuals