## Logic Gate Calculator

A Logic Gate Calculator is a tool used to calculate the output of a logic gate circuit based on the input values provided. It helps in understanding and analyzing the behavior of logic gates in digital circuits.

### Formula

The formula for each logic gate depends on its specific functionality. Here are a few examples:

- AND Gate: Output = Input1 AND Input2
- OR Gate: Output = Input1 OR Input2
- NOT Gate: Output = NOT Input
- XOR Gate: Output = Input1 XOR Input2

### Example

If we have an AND gate with Input1 = 1 and Input2 = 0, the output will be 0 since both inputs need to be 1 for the AND gate to produce a 1 output. Similarly, for an OR gate with Input1 = 1 and Input2 = 0, the output will be 1 because either input being 1 is sufficient for the OR gate to produce a 1 output.