Appendix A: Functions and Instructions
805
0b
binaryNumber
0h
hexadecimalNumber
Without a prefix,
integer1
is treated as decimal
(base 10). The result is displayed in hexadecimal,
regardless of the
Base
mode.
If you enter a decimal integer that is too large for a
signed, 32-bit binary form, a symmetric modulo
operation is used to bring the value into the
appropriate range.
identity()
MATH/Matrix menu
identity(
expression
)
⇒
matrix
Returns the identity matrix with a dimension of
expression
.
expression
must evaluate to a positive integer.
identity(4)
¸
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
If
CATALOG
If
Boolean expression
If
Boolean expression
Then
statement
block
EndIf
If
Boolean expression
evaluates to true, executes the
single statement
statement
or the block of
statements
block before continuing execution.
If
Boolean expression
evaluates to false, continues
execution without executing the statement or block
of statements.
block
can be either a single statement or a sequence
of statements separated with the “:” character.
Program segment:
©
:If x<0
:Disp "x is negative"
©
—
or
—
©
:If x<0 Then
: Disp "x is negative"
: abs(x)
!
x
:EndIf
©
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
©
A binary number can have up to
32 digits. A hexadecimal number
can have up to 8.
Zero, not the letter O, followed by b or h.
Summary of Contents for Titanium TI-89
Page 9: ...Getting Started 6 TI 89 Titanium keys Ë Ì Í Ê ...
Page 34: ...Getting Started 31 2 or D 2 B u s i n e s s D B D B Press Result ...
Page 43: ...Getting Started 40 3 0 D B D D B D Press Result ...
Page 44: ...Getting Started 41 D 2 0 0 2 D B Scroll down to October and press Press Result ...
Page 58: ...Getting Started 55 Example Set split screen mode to TOP BOTTOM Press Result 3 B D ...
Page 70: ...Getting Started 67 ...
Page 175: ...Operating the Calculator 172 From the Keyboard ...
Page 456: ...Tables 453 ...
Page 527: ...Data Matrix Editor 524 ...