Chapter 12: Q20SE (page 844)
Design a circuit that determines whether three or more of four individuals on a committee vote yes on an issue, where each individual uses a switch for the voting.
A threshold gate produces an output that is either or given a set of input values for the Boolean variables . A threshold gate has a threshold value , which is a real number, and weights , each of which is a real number. The output \({\bf{y}}\) of the threshold gate is \(1\) if and only if \({{\bf{w}}_{\bf{1}}}{{\bf{x}}_{\bf{1}}}{\bf{ + }}{{\bf{w}}_{\bf{2}}}{{\bf{x}}_{\bf{2}}}{\bf{ + L + }}{{\bf{w}}_{\bf{n}}}{{\bf{x}}_{\bf{n}}} \ge {\bf{T}}\). The threshold gate with threshold value \({\bf{T}}\) and weights \({{\bf{w}}_{\bf{1}}}{\bf{,}}{{\bf{w}}_{\bf{2}}}{\bf{, \ldots ,}}{{\bf{w}}_{\bf{n}}}\) is represented by the following diagram. Threshold gates are useful in modeling in neurophysiology and in artificial intelligence.
Short Answer
The output of the gate is \({\bf{w x y + w x z + w y z + x y z}}\).