Ask your own question, for FREE!
Computer Science 21 Online
OpenStudy (anonymous):

Checking logical equivalence of two different functions (or expressions). Why does my book say with n different variables there will be 2^n different assignments to check. I don't understand how that computation is valid.

OpenStudy (anonymous):

Because of permutations in the truth value, i.e., if there are two variables, you have to check for: 1 1 0 0 1 0 0 1 which is 2^2 = 4. In the same manner, for every number of variables n, you have to check 2^n values.

OpenStudy (anonymous):

Each variable has two possible values - True and False. Then for "n" variables you have 2^n assignments to check. In other words: That is all possible combinations of the variables with assigned value to them.

OpenStudy (anonymous):

Alright. It's the number of end results required. I was on the assumption that they would be interested in # permutations but that assumption came from thin air. Thanks guys.

OpenStudy (anonymous):

I'm not sure if "end results required" is what I mean. Evaluations to be compared perhaps.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!