The negation gate is equivalent to the identity and has only one input and output. Differences between those two is that the output value will be the opposite value of the input. Because there are only two possible values (true or false), it is easy to determine the opposite one.
If a project is finished until friday, we do not have to perform a meeting on saturday.
project finished | meeting on saturday |
---|---|
no | yes |
yes | no |
A | Z |
---|---|
1 | 0 |
0 | 1 |
verbal propositional calculus:
Claim: When it rains, we do not have to go out for jogging.
It rains, so we have to go out for jogging. ________.
false
The sun is shining, so we will go jogging. _________.
true
The NOT gate can be built - like all other gates - from NAND gates:
NOT A = (A NAND A)