eolas/Logic/Boolean_functions.md
2022-12-16 13:00:05 +00:00

348 B

categories tags
Mathematics
logic

Boolean functions

An example of a Boolean function:

f(x,y,z) = (x \land y) \lor (\lnot(x) \land z )

Here is a work through where f(1, 0, 1):

// Insert diagram

We can compute all possible outputs of the function by constructing a truth-table with each possible variable value as the