Logic/Similarity of electric circuits and logical operators

From Internet Web School

(Difference between revisions)
Jump to: navigation, search
(Created page with 'Logic > Similarity of electric circuits and logical operators == Contents == * Category:Mathematical logic(Wikipedia) * [[wi…')
 
(One intermediate revision not shown)
Line 7: Line 7:
* [[wikipedia:Logical_conjunction|Logical conjunction]]
* [[wikipedia:Logical_conjunction|Logical conjunction]]
* [[wikipedia:Logical_disjunction|Logical disjunction]]
* [[wikipedia:Logical_disjunction|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).
 +
 +
{| border="1" class="wikitable" style="background-color:#ddf"
 +
! style="background:#ffdead;" |A
 +
! style="background:#ffdead;" |B
 +
! style="background:#ffdead;" |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).
 +
 +
{| border="1" class="wikitable" style="background-color:#ddf"
 +
! style="background:#ffdead;" |A
 +
! style="background:#ffdead;" |B
 +
! style="background:#ffdead;" |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)
 +
|-
 +
|}
== CAI Exercise ==
== CAI Exercise ==
Line 15: Line 73:
[[en:Logic/Similarity of electric circuits and logical operators]]
[[en:Logic/Similarity of electric circuits and logical operators]]
-
[[ja:電気の回路と論理積・論理和のイメージ合わせ]]
+
[[ja:論理学/電気の回路と論理積・論理和のイメージ合わせ]]

Latest revision as of 08:26, 23 May 2014

Logic > Similarity of electric circuits and logical operators

Contents

Contents

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)

CAI Exercise

Personal tools
In other languages