Using tests – Texas Instruments TI-84 User Manual
Page 92

Chapter 2: Math, Angle, and Test Operations
89
Relational operators are often used in programs to control program flow and in graphing
to control the graph of a function over specific values.
Using Tests
Using Tests
Using Tests
Using Tests
Relational operators are evaluated after mathematical functions according to EOS rules
(Chapter 1).
•
The expression
2+2=2+3
returns
0
. The TI-84 Plus performs the addition first
because of EOS rules, and then it compares 4 to 5.
•
The expression
2+(2=2)+3
returns
6
. The TI-84 Plus performs the relational test first
because it is in parentheses, and then it adds 2, 1, and 3.
valueA=valueB
valueA>valueB
valueA<valueB
valueA
ƒ
valueB
valueA
‚
valueB
valueA
valueB