X_Trust
X_Trust

Reputation: 817

Boolean algebra

Can anyone help me with a little Boolean algebra. Wolfram alpha doesn't seem to like this very much. The problem is huge so I'm only showing a small small part of it.

( ( A' or B or C )' or ( A or D )' or D')'

thank you.

This is the whole problem. picture of the problem

the blue is what i have posted

Upvotes: 2

Views: 402

Answers (2)

Big G
Big G

Reputation: 1

If the ' in your sample code stands for negativity, then in C# or Java you'd have:

boolean A,B,C,D;

and then:

if(!(!A || B || C) || !(A || D) || !D)
{
   //Do something
}

Upvotes: 0

Pwnosaurus
Pwnosaurus

Reputation: 2170

The DNF form of your written equation is (A'D)+(BD)+(CD)

More forms on Wolfram|Alpha

Upvotes: 1

Related Questions