I have these two descriptions of systems:
A pump will start if the pressure and temperature of liquid in a tank reach a certain threshold. Pressure and temperature sensors output a HIGH signal if the threshold is reached which in turn, starts the pump by outputting a HIGH signal. Draw a truth table and circuit for this system.
A light has two switches. The light will turn OFF or ON using either switch without considering the other switch's state. List the inputs and outputs of the circuit for the light. What logic gate would represent this circuit best. List the truth table for the system.
For #1, isn't that just going to be an AND gate? We all know the truth table for that.
But #2 is a little more difficult. I'm not exactly sure how to go about that one. I've looked through my table of gates and their truth tables, but none of them seem to be what I'm looking for.
Thanks for any help!
Truth table for #10 (for OP to fill out). [Transistor] A | B | Z ---+---+--- 0 | 0 | 0 0 | 1 | 1 1 | 0 | 1 1 | 1 | 1 EDIT: So it is just an OR gate? When no switches are on then the light is off; if either switch is on then the light is also on; when both are on then the light should be on. That's how I read it at least and it makes sense.
Thanks for you help transistor.
EDIT 2:
A | B | Z ---+---+--- 0 | 0 | 0 0 | 1 | 1 1 | 0 | 1 1 | 1 | 0 So it is an XOR.
