Logical Operators - HP 50g User Manual

Graphing calculator
Hide thumbs Also See for 50g:
Table of Contents

Advertisement

Logical operators

Logical operators are logical particles that are used to join or modify simple
logical statements. The logical operators available in the calculator can be
easily accessed through the keystroke sequence: „° @) T EST@ L.
The available logical operators are: AND, OR, XOR (exclusive or), NOT, and
SAME. The operators will produce results that are true or false, depending on
the truth-value of the logical statements affected. The operator NOT (negation)
applies to a single logical statements. All of the others apply to two logical
statements.
Tabulating all possible combinations of one or two statements together with the
resulting value of applying a certain logical operator produces what is called
the truth table of the operator. The following are truth tables of each of the
standard logical operators available in the calculator:
p
NOT p
1
0
p
q
1
1
1
0
0
1
0
0
p
q
1
1
1
0
0
1
0
0
0
1
p AND q
1
0
0
0
p OR q
1
1
1
0
Page 21-45

Advertisement

Table of Contents
loading

Table of Contents