Education Technology

Solution 12170: Using the "and" Operator on TI-89 Family, TI-92 Family, and Voyage™ 200 Graphing Calculators.

How do I use the "and" operator on the TI-89 family, TI-92 family, and Voyage 200 graphing calculators?

The and operator is primarily used to compare two Boolean expressions, lists, or matrices and returns true, false, or a simplified form of the original entry. When used with integers, the and operator compares them bit-by-bit using an and operation. Internally, both integers are converted to signed, 32-bit binary numbers. When corresponding bits are compared, the result is 1 if both bits are 1: otherwise, the result is 0. The returned value represents the bit results, and is displayed according to the Base mode.

Examples:

1) In Hex base mode, entering 0h7AC36 and 0h3D5F will return 0h2C
2) In Bin base mode, entering 0b100101 and 0b100 will return 0b100.
3) In Dec base mode, entering 37 and 0b100 will return 4.

Integers can be entered in any number base. For a binary or hexadecimal entry, the prefix 0b or 0h must be used.

If a decimal integer that is too for a signed, 32-bit binary form is entered, a symmetric modulo operation is used to bring the value into the appropriate range.

The and operator is also used when solving for system of equations and to input piecewise functions with more than one restrictions.

Examples:

1) Solve(x+y=3 and x-y=2, {x,y})
2) y1(x)= x^3-2x| x 5 and x 3 0.
 

Please see the TI-89 family, TI-92 family and Voyage 200 guidebooks for additional information.