Test Operations - T - Texas Instruments TI-73 Explorer Manual Book

Graphing calculator
Hide thumbs Also See for TI-73 Explorer:
Table of Contents

Advertisement

32
Chapter 2: Math Operations

Test Operations - t

Test Operations
The two types of test operations included in the Text editor
are relational operators (
operators (
Both relational and logic operators often are used in programs
to control program flow and in graphing to control the graph
as a function over specific values.
Relational Operators
Relational operators compare conditionA and conditionB and
return
if the conditional statement is true. They return
1
the conditional statement is false. conditionA and conditionB
can be real numbers, expressions, or lists.
If both conditions are lists, they must have the same number
of elements. If one condition is a list and the other a non-list,
the non-list is compared with each element of the list, and a
list is returned.
Test operations are frequently used in programs.
conditionA
Relational operators are evaluated after mathematical
functions according to EOS rules (Appendix B: Reference
Information). Therefore, for 2+2=2+3, the TI-73 returns
compares 4 with 5 and returns 0, because the operation is
false. For 2+(2=2)+3, the TI-73 returns
parentheses returns 1, because the operation is true. Then it
adds 2+(1)+3.
=
and
).
and
or
relational_operator
,
,
,
,
, and
ƒ

>
<
conditionB
. The relational test in
6
) and logic (Boolean)
0
if
0
. It

Advertisement

Table of Contents
loading

Table of Contents