1,045 views
1 votes
1 votes
The Number of n-variable propositional function  ?

a. 2^2^n.

b.2^n^2

c.2^n

d. n^2

Can any one please explain the what should be the answer and how to get it?

1 Answer

Best answer
2 votes
2 votes
With n variable, we can have $2^n$ outputs as each output can be true or false.

Now we need to see how many functions can be made out of $2^n$ outputs.

 Let us say m=$2^n$ // number of outputs

Now with m ,I can have 2^m functions as each value of m can be 0 or 1.

So $2^m" = 2^2^n, a is the answer
selected by

Related questions

0 votes
0 votes
0 answers
2
Na462 asked Dec 19, 2018
397 views