A acts as the two inputs of the NAND gate and Y is the output, as shown in the following figure.
Hence, the output can be written as:
`Y=bar(A.A)=bar(A)+bar(A)=bar(A)`
The truth table for equation (i) can be drawn as:
This circuit functions as a NOT gate. The symbol for this logic circuit is shown as: