beautypg.com

Texas Instruments TITANIUM TI-89 User Manual

Page 604

background image

Programming

604

Entering a Test Operator

Entering a Test Operator

Entering a Test Operator

Entering a Test Operator

Type the operator directly from the keyboard.
– or –

Relational Tests

Relational Tests

Relational Tests

Relational Tests

Relational operators let you define a conditional test that compares two values. The
values can be numbers, expressions, lists, or matrices (but they must match in type and
dimension).

Press

2 I and select

8:Test

. Then

select the operator from the menu.

– or –

Display the built-in functions. Press:
½The test operators are listed near
the bottom of the

„ Built-in menu.

Operator

True if:

Example

>

Greater than

a>8

<

Less than

a<0

|

Greater than or equal to

a+b

|

100

{

Less than or equal to

a+6

{

b+1

=

Equal

list1=list2

ƒ

Not equal to

mat1

ƒ

mat2