/    Sign up×
Community /Pin to ProfileBookmark

boolean algebra simplification

i have a boolean expression from a book im reading and im having trouble understanding the process of simplifying and drawing a conclusion.

its based around the process of buying a cat that fits certain criteria. heres the key

m = male cat
f = female cat
n = neutered cat
u = unneutered cat
w = white cat
t = tan cat
b = black cat

heres the expression

(m x n x (w + t)) + (f x n x (1-w)) + b
here he substitutes 0’s and 1’s
(1 x 0 x 1) + (0 x 0 x 1) + 0 = 0 + 0 +0 = 0

in the book the first cat is male unneutered tan. the books example substitutes the letters for zeros and ones and thats where i get lost. can anyone guide me through the process

to post a comment

1 Comments(s)

Copy linkTweet thisAlerts:
@NogDogJun 07.2020 — Think of 1 as "true" and 0 as "false". Think of "x" as "and" and "+" as "or". Think of "1-[something]" as "not [something]". So the equation is looking for a cat that is:
<i>
</i>(male AND neutered AND (white OR tan)) OR (female AND neutered AND (NOT white)) OR (black)
×

Success!

Help @cole_p spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.23,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...