Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: Boolean math: Fill in the blanks.

by repellent (Priest)
on Oct 12, 2008 at 01:55 UTC ( #716647=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    n  = total # bits per sample
    L1 = # bits   set on average on  left-side of AND/OR
    L0 = # bits unset on average on  left-side of AND/OR
       = n - L1
    R1 = # bits   set on average on right-side of AND/OR
  2. or download this
    AND : L1 * R1 / n
    OR  : L1 + L0 * R1 / n = L1 + (n - L1) * R1 / n
                           = L1 + R1 - L1  * R1 / n
                           = L1 * ( 1 - R1 / n ) + R1

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://716647]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-11-26 16:21 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (701 votes), past polls