In-Class Exercise: Units as
Logic Gates
• For values 0,1 corresponding to true, false, and a unit
with a 0/1-step function, can you choose W1,i, W2,i, and t
so as to compute:
– AND? (1, 1, 1.5)
– OR? (1, 1, .5)
– IMPLIES? (1, -1, .5)
– EQUIVALENT? (NOT POSSIBLE – Why?)