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 #205 background imageLoading...
Page #205 background image
Appendix A: Functions and Instructions 199
iPart() MATH/Number menu
iPart(
number
)
integer
iPart(
list1
)
list
iPart(
matrix1
)
matrix
Returns the integer part of the argument.
For lists and matrices, returns the integer part of
each element.
The argument can be a real or a complex number.
iPart(ë 1.234) ¸ ë 1.
iPart({3/2,ë 2.3,7.003})
¸
{1 ë 2. 7.}
isClkOn() CATALOG
isClkOn()
true,false
Determines if the clock is ON or OFF. Returns
true if the clock is ON. Returns false if the clock
is
OFF.
isPrime() MATH/Test menu
isPrime(
number
)
Boolean constant expression
Returns true or false to indicate if
number
is a
whole number 2 that is evenly divisible only by
itself and 1.
If
number
exceeds about 306 digits and has no
factors c 1021,
isPrime(
number
) displays an error
message.
If you merely want to determine if
number
is
prime, use
isPrime() instead of factor(). It is
much faster, particularly if
number
is not prime
and has a second-largest factor that exceeds
about five digits.
IsPrime(5) ¸ true
IsPrime(6) ¸ false
Function to find the next prime after a
specified number:
Define nextPrim(n)=Func:Loop:
n+1! n:if isPrime(n):return n:
EndLoop:EndFunc ¸ Done
nextPrim(7) ¸ 11
Item CATALOG
Item
itemNameString
Item
itemNameString
,
label
Valid only within a Custom...EndCustm or
ToolBar...EndTBar block. Sets up a drop-down
menu element to let you paste text to the cursor
position (
Custom) or branch to a label
(
ToolBar).
Note: Branching to a label is not allowed within
a
Custom block.
See
Custom example.
Lbl CATALOG
Lbl
labelName
Defines a label with the name
labelName
in the
program.
You can use a
Goto
labelName
instruction to
transfer program control to the instruction
immediately following the label.
labelName
must meet the same naming
requirements as a variable name.
Program segment:
©
:Lbl lbl1
:InputStr "Enter password",
str1
:If str1ƒpassword
: Goto lbl1
:Disp "Welcome to ..."
©

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