Logic/Similarity of electric circuits and logical operators
From Internet Web School
Revision as of UNIQ27c7caf26cfadfa3-MathJax-2-QINU2
Logic > Similarity of electric circuits and logical operators
Contents |
Contents
- Category:Mathematical logic(Wikipedia)
- Boolean algebra (logic)
- Logical conjunction
- Logical disjunction
Overview
Remarks: The following discussion, a switch is turned "on/off", logical "true/false" ,this is same meaning.
Logical disjunction(∨)
"Logical disjunction" is like circuit the switches are in parallel. When switches are in parallel, if any switch turned on(true), power on(true). If all switches turned off(false), power off(false).
A | B | A ∨ B |
---|---|---|
switch_1(true/on) | switch_2(true/on) | power(true/on) |
switch_1(true/on) | switch_2(false/off) | power(true/on) |
switch_1(false/off) | switch_2(true/on) | power(true/on) |
switch_1(false/off) | switch_2(false/off) | power(false/off) |
Logical conjunction(∧)
"Logical conjunction" is like circuit the switches are in series like chain. When switches are in series, if any switch turned off(false), power off(false). If all switches turned on(true), power on(true).
A | B | A ∨ B |
---|---|---|
switch_1(true/on) | switch_2(true/on) | power(true/on) |
switch_1(true/on) | switch_2(false/off) | power(false/off) |
switch_1(false/off) | switch_2(true/on) | power(false/off) |
switch_1(false/off) | switch_2(false/off) | power(false/off) |