Consider the circuit shown in Figure. The switches are controlled by logic variables such that, if A is high, switch A is closed, and if A is low, switch A is open. Conversely, if B is high, the switch labeled B is open, and if B is low, the switch labeled B is closed. The output variable is high if the output voltage is 5 V, and the output variable is low if the output voltage is zero. Write a logic expression for the output variable. Construct the truth table for the circuit.