Boolean Algebra
•
False = 0
•
True = 1 (or
¹
0)
•
Use multiplication for AND
•
Use addition for OR
•
(x>5)•(x<8)
–
True if x>5 and x<8
•
(x<3)+(x>16)
–
True if x<3 or x>16