diff --git a/education/computer engineering/ECE2700/Binary Logic.md b/education/computer engineering/ECE2700/Binary Logic.md index ac05999..8f7f7d1 100644 --- a/education/computer engineering/ECE2700/Binary Logic.md +++ b/education/computer engineering/ECE2700/Binary Logic.md @@ -6,4 +6,18 @@ A binary NOT gate has a single input, and inverts that input. ## Truth Table | $x$ | $y$ | | --- | --- | -| | | \ No newline at end of file +| 0 | 1 | +| 1 | 0 | +## Boolean Expression +A NOT operation is mathematically expressed using a bar: +$$ y = \bar{x} $$ +# AND Gate +An AND gate will only output a 1 if *both* inputs are a one. + +## Truth Table +| $x_1$ | $x_2$ | $y$ | +| ----- | ----- | --- | +| 0 | 0 | 0 | +| 0 | 1 | 0 | +| 1 | 0 | 0 | +| 1 | 1 | 1 |