Confused about logical statements.

  • Thread starter Thread starter torquerotates
  • Start date Start date
  • Tags Tags
    Confused
torquerotates
Messages
207
Reaction score
0
A and B or C


Does that even makes sense as a statement?
I thought logical operators are binary.

Obviously, the "or" links to C but what is on the other side? A or B?

i mean 1+2-3=0 makes sense since (1+2)-3=3-3=0=1-1=1+(2-3)

But [(A and B) or C]=(AorC)and(BorC)
[ A and ( B or C) ]= (AandB)or(AandC)

these are not the same.
 
Physics news on Phys.org
Your analogy is incorrect. The corresponding expression in arithmetic would involve both multiplication and addition (distributive law). a(b+c) = ab + ac.
 
torquerotates said:
A and B or C

You really need to use parentheses to be clear


I think most computer languages will interpret it as

(A and B) or C

But I know of at least one that will make it

A and (B or C)
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...

Similar threads

Replies
18
Views
2K
Replies
7
Views
1K
Replies
2
Views
2K
Replies
30
Views
2K
Replies
5
Views
2K
Replies
40
Views
8K
Replies
2
Views
2K
Replies
15
Views
2K
Replies
18
Views
3K
Back
Top