Download Print this page

Test Logic (Boolean) Operations - Texas Instruments TI-82 STATS Manual Book

Graphing calculator
Hide thumbs Also See for TI-82 STATS:

Advertisement

TEST LOGIC (Boolean) Operations

TEST LOGIC
Menu
Boolean
Operators
and,
or,
xor
not(
Using Boolean
Operations
2.26 Math, Angle, and Test Operations
To display the
TEST LOGIC
This operator...
TEST LOGIC
1: and
2: or
3: xor
4: not(
Boolean operators are often used in programs to control
program flow and in graphing to control the graph of the
function over specific values. Values are interpreted as zero
(false) or nonzero (true).
,
, and
(exclusive or) return a value of
and
or
xor
expression is true or
table below. valueA and valueB can be real numbers,
expressions, or lists.
valueA
valueB
and
valueA
valueB
or
valueA
valueB
xor
valueA
valueB
ƒ0
ƒ0
0
ƒ0
0
ƒ0
0
0
returns
if value (which can be an expression) is
not(
1
value
not(
)
Boolean logic is often used with relational tests. In the following
program, the instructions store
menu, press y ã
Returns a 1 (true) if...
Both values are nonzero (true).
At least one value is nonzero (true).
Only one value is zero (false).
The value is zero (false).
if an expression is false, according to the
0
and
returns
1
returns
0
returns
0
returns
0
into
.
4
C
ä ~.
TEST
if an
1
or
xor
1
0
1
1
1
1
0
0
.
0

Hide quick links:

Advertisement

loading