beautypg.com

Texas Instruments TITANIUM TI-89 User Manual

Page 605

background image

Programming

605

Note:

From the keyboard, you can type:

>= for |
<= for {
/= for ƒ
(To get the / character, press

e.)

Boolean Tests

Boolean Tests

Boolean Tests

Boolean Tests

Boolean operators let you combine the results of two separate tests.

The Not Function

The Not Function

The Not Function

The Not Function

The

not

function changes the result of a test from true to false and vice versa. For

example:

Note:

If you use

not

from the Home screen, it is shown as

~

in the history area. For

example,

not x>2

is shown as

~(x>2)

.

Operator

True if:

Example

and

Both tests are true

a>0 and a

{

10

or

At least one test is true

a

{

0 or b+c>10

xor

One test is true and the
other is false

a+6

not

x>2

is true if
is false if

x

{

2

x>2