There are different ways of thinking about the number 2 in math, and some ways are more useful than others depending on the question.
For example, in computers, electricity is either flowing through a transistor or not, so there are only 2 possible states, usually written as 0 (off) and 1 (on). If you look at the power switch of most electronic devices, you will see a symbol that has a 1 inside of a 0. Here is an example of that:
There are 2 possibilities for the first toss, and then from each of those two possibilities, and so on. In other words, with every coin toss, the total number of outcomes doubles. So for tossing a coin 3 times, there are 2^3 or 8 possible outcomes. This diagram also works for figuring out the odds of a woman giving birth to at least 2 girls if she gives birth to 3 children total.
In logic, when we have a statement with two or more parts, if one part of the statement is false, the whole statement is false. This can be shown with a truth table. Let p and q be statements and let T and F stand for true and false respectively.
p q p and q p or q
T T T T
F T F T
T F F T
F F F F
There are logical operators besides "and" and "or", but these are the basics. It's important to note that in logic, it is impossible for a statement and its opposite to be true at the same time. For example, it is impossible in a given time in place for it to be both raining and not raining. "And" statements can only be true if each part is true. For more information, read up on Boolean algebra.
No comments:
Post a Comment