Jump to content

Recommended Posts

how can i find out how many true false values in combination of 4

 

for example 0 being false and 1 being true i think i have them all but am not sure is there another way of working this out?

 

0000

1000

1100

1110

1111

0111

0001

0011

1010

1001

1011

1101

 

I can only see 12 but maybe i am tired

 

 

You can have these scenarios:

S={(T,T,T,T),

(T,T,T,F),

(T,T,F,F),

(T,F,F,F),

(F,T,T,T),

(F,F,T,T),

(F,F,F,T),

(F,F,F,F),

(F,T,F,F),

(F,F,T,F),

(T,F,T,T),

(T,T,F,T),

(T,F,F,T),

(T,F,T,F),

(F,T,T,F),

(F,T,F,T)}

|S| = 16

 

Besides, what does this have to do with PHP, and why is it in PHP Help?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.