Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2013-01-20 09:03:47

reallylongnickname
Member
Registered: 2011-03-30
Posts: 50

boolean rule

neutral

Last edited by reallylongnickname (2013-01-20 11:12:58)

Offline

#2 2013-01-25 15:09:02

John E. Franklin
Member
Registered: 2005-08-29
Posts: 3,588

Re: boolean rule

1 = 1 | 0
0 = 0 | 0
| means OR.
now AND...
0 = 0 & X
X = 1 & X, where X can be 1 or 0 (boolean value)
now XOR...
(exclusive-OR)
1 = 1 ^ 0
1 = 0 ^ 1
0 = 1 ^ 1
0 = 0 ^ 0
basically the 1 is a toggle of the other value, toggle = flip from 0 to 1 or 1 to 0.
Given that Ab, Bb, Cb are boolean variables holding 0 or 1, we have the following:
The / sign is the negation or NOT symbol as / put in front of a variable.

(Ab & /Bb) | (Bb & /Ab) = A ^ B, where ^ means exclusive-or (XOR).

Also demorgans laws something like...
/(Ab & Bb) = /Ab + /Bb

Also see Karnaugh mapping for electronics ways...

Maurice Karnaugh of Bell Labs 1957 1953...


igloo myrtilles fourmis

Offline

Board footer

Powered by FluxBB