|
Register | Blogging | Today's Posts | Search |
|
Thread Tools | Display Modes |
05-01-2011, 09:30 AM | #101 (permalink) |
Dat's Der Bunny!
Join Date: Jul 2006
Location: Ireland
Posts: 1,088
|
It doesn't change any of my arguments though. Even the simplest calculator can be programmed to allow for bad syntax.
@chiron: I would assume that they were posting in the language of the rest of the sentence :P
__________________
"I found it eventually, at the bottom of a locker in a disused laboratory, with a sign on the door saying "Beware of the Leopard". Ever thought of going into Advertising?" - Arthur Dent |
05-01-2011, 09:41 AM | #102 (permalink) | |
FakingSuicideForApplause
Join Date: Jul 2009
Location: I live in a van down by the river
Posts: 1,365
|
Quote:
At any rate, the problem question is underspecified. Therefore, to solve this problem we would have to further specify it. Generally, the simplest solution is always best, as given by Occam's razor. Hence, For 6/2*(1+2), It is simpler to say (6/2)*(1+2) Instead of: 6/(2*(1+2)).
__________________
I'll stay if I ever could, and pick up your pieces babe, because there's never a perfect day. |
|
05-01-2011, 10:00 AM | #103 (permalink) |
Dat's Der Bunny!
Join Date: Jul 2006
Location: Ireland
Posts: 1,088
|
... Which is essentially what I've been saying since the first page. While the most common answer is 9, it is ambiguous without more parentheses. Occam's Razor is an interesting argument in favour of 9, though, but I'm glad you feel the original problem is underspecified!
__________________
"I found it eventually, at the bottom of a locker in a disused laboratory, with a sign on the door saying "Beware of the Leopard". Ever thought of going into Advertising?" - Arthur Dent |
05-01-2011, 10:53 AM | #104 (permalink) | ||
...here to hear...
Join Date: Nov 2010
Location: He lives on Love Street
Posts: 4,444
|
Quote:
Quote:
I can`t remember what I was taught (in England) about precedence and order of operations, but we were taught to use parenthesis to avoid ambiguity. So, if I had wanted the answer to be 9, I would have written : (6/2)(1+2) = 3 x 3 = 9 and if I had wanted the answer to be 1, I would have written : 6/2(1+3) = 6/(2 x 3) = 1 So,it`s an interesting question, EvilChuck, but my answer to the guy would be," Go back and write what you mean properly." |
||
05-01-2011, 11:55 AM | #106 (permalink) | |
A.B.N.
Join Date: Aug 2006
Location: NY baby
Posts: 11,451
|
I haven't read all of the posts but I think something that people are forgetting with PEMDAS is that
Multiplication and Division get the same priority So does Addition and Subtraction. You always do the order of operations from left to right.
__________________
Fame, fortune, power, titties. People say these are the most crucial things in life, but you can have a pocket full o' gold and it doesn't mean sh*t if you don't have someone to share that gold with. Seems simple. Yet it's an important lesson to learn. Even lone wolves run in packs sometimes. Quote:
|
|
05-01-2011, 12:21 PM | #107 (permalink) | ||
Mate, Spawn & Die
Join Date: May 2007
Location: The Rapping Community
Posts: 24,593
|
Quote:
Quote:
|
||
05-01-2011, 01:17 PM | #108 (permalink) |
Dat's Der Bunny!
Join Date: Jul 2006
Location: Ireland
Posts: 1,088
|
It was. I was showing why "equal priority/rank" is a minefield.
__________________
"I found it eventually, at the bottom of a locker in a disused laboratory, with a sign on the door saying "Beware of the Leopard". Ever thought of going into Advertising?" - Arthur Dent |
05-01-2011, 01:21 PM | #110 (permalink) |
Dat's Der Bunny!
Join Date: Jul 2006
Location: Ireland
Posts: 1,088
|
Because it's all very well to say that, but there's absolutely no guarantee that the person you're communicating with feels the same way... as is evident from this thread.
__________________
"I found it eventually, at the bottom of a locker in a disused laboratory, with a sign on the door saying "Beware of the Leopard". Ever thought of going into Advertising?" - Arthur Dent |