It depends on how you read the dash. If “/” means you divide what comes before it with everything that comes after, the answer is 1. If “/” only means that you multiply with 1 over the immediately following number it’s 9.
[quote]Gaius Octavius wrote:
I repeat, it depends on how you read the dash. There is no right or wrong in this matter, it’s just a matter of convention.[/quote]
Your right, now that I am looking at the problem like that it makes sense.[/quote]
But how does 6/2(1+2) get assigned to division being done before multiplication.
(Devils Advocate)
[/quote]
Now I am confused because I can see both ways being right. [/quote]
The ‘problem’ is that in text notation the divisor cannot be written any other way on the same line.
Computers require strict definition of operation notation, so we have come to define it was PEMDAS, left to right precedence on same level operations(MD, AS).
Voluminous showed the ‘other’ way of perceiving it, but the key was that he broke it down into a 2nd line.
6/2(1+2) = 9
6
----- = 1
2(1+2)
The difference is that you would write the second one into a program as 6/(2[1+2]).
[quote]Gaius Octavius wrote:
Because it’s 2 different equations depending on what the dash means.[/quote]
A) It’s a slash, not a dash
B) No. There’s one meaning. If you want the ‘other’ way, it must be 6/(2*(2+1)).
C) Plug the original in any calculator and see what happens.
A)My mistake. Sorry about that.
B)No, there can be as many meanings as we want it to have. If I define “/” to be the integral symbol then this sure as hell ain’t 9, it won’t even be a number. The two meanings that make a lick of sense however are that “/” is either a simple divisor or that it means that whatever follows is in a 2nd line.