|We don't bite newbies here... much|
Re^2: Boolean math: Fill in the blanks.by BrowserUk (Pope)
|on Oct 12, 2008 at 08:25 UTC||Need Help??|
Conclusion: ... I see some inconsistent results ... 7 of ( R & R | R & R ) & R evaluates to 5 bits set on average.
If you plug ( R & R | R & R ) & R into the OP code and run it a few times, you'll see that the average does approximate 7:
And as you increase the number of iterations, the more closely the observations coincide with the theoretical value:
That's how I like my proofs. Tangible :)
Sorry if I have misunderstood your hypothesis.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.