--- tags: - Logic - Electronics - Hardware - logic-gates --- # AND gate Just as we can create `NOT` logic from a NAND gate, without the `AND` conditions, we can create a circuit that exemplifies the truth conditions of `AND` just by discluding those of those of `NOT`. When we attach two NAND gates in sequence connected to two switches as input this creates the following binary conditions: ```` A B Output _ _ _____ 1 1 1 (1) 1 0 0 (2) 0 1 0 (3) 0 0 0 (4) ```` Which is identical to the truth table for `AND` : ```` p q p & q _ _ _____ t t t (1) t f f (2) f t f (3) f f f (4) ```` **An AND at 0 0 :** ![Screenshot_2020-08-25_at_15.04.10 1.png](../../img/Screenshot_2020-08-25_at_15.04.10.png) **AND at 1 0 or 0 1 :** ![Screenshot_2020-08-25_at_15.05.20.png](../../img/Screenshot_2020-08-25_at_15.05.20.png) **AND at 1 1** ![Screenshot_2020-08-25_at_15.05.36.png](../../img/Screenshot_2020-08-25_at_15.05.36.png) ### Symbol for `AND` gate It's very similar to NAND so be careful not to confuse it ![Pasted image 20220319173651.png](../../img/Pasted_image_20220319173651.png)