Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@C0D4 depending on where you live and how old you are it is.
In the past in the netherlands multiplication was done before division. Nowadays not anymore. But I know of more countries (US included I think) where this was the stamdRd in the past. -
chch14857y@busuu Are you trolling? What's *inside* the parentheses has highest precedence, nobody's questioning that.
-
chch14857y@robzombie111 What kind of rule is that? It's left to right for division and multiplication.
-
@robzombie111 that depends on where you live. division and multiplication are the same weight so read from left to right.
That is how its in the netherlsnds, but my grandmother learnt it the way you said. And my father learned both. -
Really people , both are correct and incorrect at the same time.
As lomg as we dont know where OP lives and how old this photo is we cannot know what is right and what is wrong. -
muli35322187yAndroid is taking it wrong like this:
6/2*(2+1)=3*3=9
the calc like this:
6/(2*(2+1))=6/(2*3)=6/6=1
the calc wins in mathematical way, so be carefull when calculating multiexpressions in the android at least use it properly -
@muli353 again its a localisation issue. Never heard of schrödringers calculators?
-
@robzombie111 yes thats how they learned it 50 years ago. Its not the correct way anymore in the netherlands.
-
C0D4681467y@awelxtr
i know, semi trolling here 😂
the fact that an equation can return multiple results is insane when all equations are suppose to follow a universal order of operations so no one can get it wrong.
@dfox
doing multiple hyphens breaks things on iOS in comments. -
monr0e12527yNo one has mentioned the name yet, but the correct accepted order follows the BODMAS/BIDMAS rule, which is as follows, in order of highest priority:
Brackets;
Indices;
Division;
Multiplication;
Addition;
Subtraction.
According to this rule, the iPhone is correct. However, if I remember rightly, a lot of school-grade "scientific" calculators didn't have enough memory to perform this analysis more than once, hence would make mistakes like this quite often. -
If anything, this just proves the importance of brackets in your calculations.
For what it's worth, in my region, I would expect "1" to be the correct answer to this -
monr0e12527y@itsdaniel0 er... No, you'd expect 9? We were taught bidmas in school, for me that was only a decade ago. Brackets first (ans: 3), then division, (also 3), then the multiplication (3 * 3 = 9)
We're from the same region, so unless they changed this for some unknown reason, you shouldn't have been taught to do anything else -
@monr0e bidmas is wrong in most localisation though,
Addition and subtraction have to be read from left to right.
Division and multiplication have to be read from left to right.
5*4/2*10 should equal to 100 and not 1 -
Wow... In Greece it's totally different... The order of precedence is:
1. Parentheses ( )
2. Brackets [ ]
3. Squiggly brackets { } (starting from the innermost and finishing to the outermost)
then it goes as:
a. Power X^Y
b. Multiplication and Division (order doesn't matter)
c. Addition and Subtraction (order doesn't matter again) -
Walz517yThe only good answer is : "error: ambiguous notation"
Stop trying to argue if your way of interpreting it is the 'right way'. Those are just conventions (different everywhere) to get rid of ambiguity and make easier the life of teacher. (They don't want to argue like here after each exam) -
sSam15017yThis is pretty cool. Never knew that everyone was taught math in different ways. For example, for me multiplication and division always had the same priority, same for addition and subtraction. Though implicit multiplication(without * sign) has higher priority than simple multiplication. What I'm saying is:
6/2(1+2) = 1
6/2*(1+2) = 9
To me it sounds weird that some were taught that multiplication has higher priority than division as they are just inverse actions. But that's just the way I was taught. -
@sSam It depends on whether people bother using brackets to group the operations. Otherwise it's free interpretation! 😅
-
sSam15017y@Qaldim I believe math shouldn't be up for interpretation and should have universal set of rules.
-
Zyberg2377yCalc must have some weird settings.
For quite some time people interpret division as fractions.
You construct fractions like this: (a*b)/(c*d) in the place of * can be any operator. Also, you can omit any of the letters.
Many mathematical proofs are standing on top of this. -
@robzombie111 the best way to not make your mistake is to use GEMS
Grouping
Exponents
Multiplication/Division
Subtraction/Addition
This more easily shows that multiplication and division are grouped together, and should be done left to right rather than in literal order -
@chch Hey! What I would like to point out is that even after the manipulation inside brackets has been done but basically it's still there.
You are perfectly right in case of division before multiplication in this case but here it's not normal * multiplication! First brackets should be done means they should be gone! So 6/2(3) still has brackets! We should solve this 2(3) first and then the division and then *. -
shiv3797997yI work in a school in the UK and we teach BOD/MA/S
Brackets
Ordinals
Division and multiplication from left to right
Addition and subtraction from left to right -
Niddam2997yHas anyone ever tried typing
"6÷2*(2+1)"
into the black calculator?
I wonder if it would say 9 then. -
@muli353 I can't say I remembered the posted image, though this one has some modifications on it. Since it already exists, it has escaped my radar.
Well this is a bug...
undefined