Ask your own question, for FREE!
Mathematics 19 Online
OpenStudy (lgbasallote):

how to set up a truth table with three variables?

myininaya (myininaya):

2^3 rows

myininaya (myininaya):

Let me know if you need more help

OpenStudy (lgbasallote):

yes. but how does the T and F look like?

myininaya (myininaya):

Do all possible combinations

OpenStudy (precal):

you have to list all possibilites

OpenStudy (precal):

T,T,T T,T,F T,F,F, T,F,T F,F,F and so on

myininaya (myininaya):

TTT TTF TFF TFT FFF FFT FTT FTF

OpenStudy (lgbasallote):

hmm....

OpenStudy (lgbasallote):

buffering....

myininaya (myininaya):

?

OpenStudy (lgbasallote):

is there any pattern? or are those randomly arranged?

OpenStudy (lgbasallote):

i can see the first column is organized though

ganeshie8 (ganeshie8):

1. toggle the right most variable in every row

OpenStudy (lgbasallote):

toggle?

ganeshie8 (ganeshie8):

2. toggle the middle variable every 2 rows toggle : T->F or F->T

ganeshie8 (ganeshie8):

3. toggle the left most variable every 4 rows

OpenStudy (precal):

Just have to make sure all of your cases are represented

OpenStudy (lgbasallote):

will you please elaborate what these "toggle" words that keep popping out on every first word of each step?

ganeshie8 (ganeshie8):

toggle means, if the previous state of a variable is T, change it to F

OpenStudy (lgbasallote):

what does it mean in video games then?

ganeshie8 (ganeshie8):

if the previous state of variable is F, change it to T

OpenStudy (lgbasallote):

hmm i see

ganeshie8 (ganeshie8):

sometime i get to draw a truthtable with 5-6 variables... this trick helps me

ganeshie8 (ganeshie8):

32 rows, 64 rows... that gets pretty long... but sometimes we have to do it painfully..

OpenStudy (lgbasallote):

so in four variables T F T F T F T F T T F F T T F F T F T F T F T F T T F F T T F F F F T T F F T T F T F T F T F T F F T T F F T T F T F T F T F T lol

ganeshie8 (ganeshie8):

looks perfect !

OpenStudy (lgbasallote):

i doubt you read that....

ganeshie8 (ganeshie8):

hey but check the 3rd column is it incomplete or what

ganeshie8 (ganeshie8):

3rd column from right side

ganeshie8 (ganeshie8):

you toggling it every 2 rows, u should toggle it every 4 rows

OpenStudy (lgbasallote):

wait...i think i may have an idea....

ganeshie8 (ganeshie8):

start with TTTT

myininaya (myininaya):

I would start a truth table with 4 variables this way: (We will need 2^4=16 rows) TTTT FFFF TTTF FFFT TTFF FFTT TTFT FFTF TFTT FTFF TFTF FTFT TFFF FTTT TFFT FTTF I wrote it like this to show for my last 8 rows I just replaced my T's with F's and my F's with T's that I had in the 1st 8 rows. I said okay also I'm gonna start with 8 T's and 8 F's pattern Then second column I did 8/2 T's and 8/2 F's pattern Third colmn I did 4/2 T's and 4/2 F's pattern And fourth column I did 2/2 T's and 2/2 F's pattern Does that make sense?

OpenStudy (lgbasallote):

i see...

myininaya (myininaya):

Like look at the "first column" which is the first 8 rows first

myininaya (myininaya):

And use what I said

ganeshie8 (ganeshie8):

i do like this usually : 4 variables => 16 rows 1) last column : toggle every row T F T F T F T F T F T F T F T F

ganeshie8 (ganeshie8):

2) 2nd column from right : toggle every 2 rows TT TF FT FF TT TF FT FF TT TF FT FF TT TF FT FF

ganeshie8 (ganeshie8):

3) 3rd columnn from right : toggle every 4 rows TTT TTF TFT TFF FTT FTF FFT FFF TTT TTF TFT TFF FTT FTF FFT FFF

ganeshie8 (ganeshie8):

4) 4th column from right : toggle every 8 rows TTTT TTTF TTFT TTFF TFTT TFTF TFFT TFFF FTTT FTTF FTFT FTFF FFTT FFTF FFFT FFFF

OpenStudy (lgbasallote):

so for 5 variables T T T T T T T T T F T T T F T T T T F F T T F T T T T F T F T T F F T T T F F F T F T T T T F T T F T F T F T T F T F F T F F T T T F F T F T F F F T T F F F F F F F F F F F F F T F F F T F F F F T T F F T F F F F T F T F F T T F F F T T T F T F F F F T F F T F T F T F F T F T T F T T F F F T T F T F T T T F F T T T T looks wrong,,,?

ganeshie8 (ganeshie8):

looks correct but u shouldnt have flipped the second section

OpenStudy (lgbasallote):

@myininaya 's directions....

ganeshie8 (ganeshie8):

if you're showing first rows as TTTTT, you must show last row as FFFFF

OpenStudy (lgbasallote):

same shiz

ganeshie8 (ganeshie8):

u can work out using any directions, but the general way we represent truth tables is common everywhere

OpenStudy (lgbasallote):

order of the first column doesn't matter right?

ganeshie8 (ganeshie8):

what is order ?

OpenStudy (lgbasallote):

@myininaya 's method is very efficient..i must say

ganeshie8 (ganeshie8):

individual opinion.. i find the method i use is very effecient

OpenStudy (lgbasallote):

"toggle" confuses me

ganeshie8 (ganeshie8):

i get u :) 'toggle' is industry word.. idk if they use in academic... .

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!