Reputation: 817
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.
the blue is what i have posted
Upvotes: 2
Views: 402
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
Reputation: 2170
The DNF form of your written equation is (A'D)+(BD)+(CD)
More forms on Wolfram|Alpha
Upvotes: 1