Rudolf Adamkovič Personal site


Truth table

Construct the truth table for the statement

\[\begin{equation*}
  P \oplus Q \> \equiv \> (P \land \lnot Q) \lor (\lnot P \land Q).
\end{equation*}
\]
<<scheme/org-truth-table>>
(org-truth-table (lambda (p q)
                   (or (and p (not q))
                       (and (not p) q)))
                 '("P" "Q" "P \\oplus Q"))
\(P\)\(Q\)\(P \oplus Q\)
falsefalsefalse
falsetruetrue
truefalsetrue
truetruefalse

© 2024 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and the secret alien technologies of yesteryear.