Logic gates illustrated with Mathcad.
Note: ":=" is an assignment equal, "=" is an evaluation equal.
Logical AND gate.
Logical NAND gate.
Exclusive OR gate (XOR).
Alternate form for an XOR gate.
Equality gate.
DeMorgan's theorems.