348 B
348 B
categories | tags | ||
---|---|---|---|
|
|
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