Could someone PLEASE explain truth tables to me? I read the section in my textbook about it but I didn't understand it.
If I had apples and oranges, does that mean A) I had apples. B) I had oranges. C) I had both A and B. ? An and statement is true if you have both things true. True here will mean I have. False here will mean I don't have. So we think of all the possible combinations... There will be 2^2=4 combinations. You have apples and you have oranges. A=T and O=T. You have apples and you don't have oranges. A=T and O=F. You don't have apples and you have oranges. A=F and O=T. You don't have apples and you don't have oranges. A=F and O=F. But the only way for "I have apples and oranges" to be true is if you have both apples and oranges. So if, A=T and O=T then A and O=T and all other possibility I mention are false. That is the following make A and O=F: A=T and O=F A=F and O=T A=F and O=F
Now I know this doesn't explain what A or F or something like if A then F means... There are two types of 'or's , the inclusive kind then the exclusive kind. Inclusive or can work like a or and also work like an and so you have a lot more combinations that are true then the exclusive or.
okay so what about problems like p^~p?
p and not p well if p is true then not p is false if p is false then not p is true \ also does it make sense to say the following: I have apples and no apples.? going on with true table if isn't obvious to you.... p=T then not p=F and so p and (not p)=F in this case p=F then not p=T and so p and (not p)=F in this case
Can you have apples at the same time as having no apples is what I mean?
no you can...thanks for explaining the ^ sign but what does the v sign mean? or?
can't*
yeah I think I remember it being the inclusive or
inclusive or is only false when both parts are false
oh okay! Thanks!
np
you may understand these AND/OR gates better using switches/dominoes http://wolfdenelectronics.com/images/LogicSymbols.jpg
Consider what values of A and B make the bulb glow
Thanks!
Join our real-time social learning platform and learn together with your friends!