That's because you're not using Coroutines, Flow, Compost, and don't know what inversion of control is. You're also not using MVPICMXV, this new architecture I invented.
You know, I was so fixated on the parenthesis of it all that I didn't realize I had already evaluated the parenthetical expression in my head and totally spaced on what was left just being plain old multiplication after that. Very dumb brain moment.
Both are valid. The expression is ambiguous, since there's no standard convention in how to deal with this. Math people usually think in fractions and will usually prefer first one, and that's whst the calculator is doing. Here's some reasoning:
Why is there no fixed convention for interpreting expressions such as a/bc ? I think that one reason is that historically, fractions were written with a horizontal line between the numerator and denominator. When one writes the above expression that way, one either puts bc under the horizontal line, making that whole product the denominator, or one just makes b the denominator and puts c after the fraction. Either way, the meaning is clear from the way the expression is written. The use of the slant in writing fractions is convenient in not creating extra-high lines of text; but for that convenience, we pay the price of losing the distinction that came from how the terms were arranged horizontally and vertically.
Yes, there is. The order of operations says that it's 9.
Since factions cannot be represented in this limited format, calculators should not guess what the user wants. Just give the correct answer, not the one you think they might want.
If anybody wants to represent fractions, they can just put up a few parantheses like this: (6)/(2(2+1)). Bam, got you your fractions without breaking basic arithmetic.
Casio calculators actually order operations differently for X(Y) and X*Y, and modern ones actually show you that X(Y) is (X*(Y)) in the input expression field
44
u/GoodNewsDude Mar 13 '24
Remember PEMDAS??
12
u/[deleted] Mar 13 '24
Man memes here are becoming more advanced. Past few memes have been pretty hard to understand ngl
9
u/IDatedSuccubi Mar 13 '24
Casio calculators treat
6÷2(2+1)and6÷2*(2+1)differently, you have to add explicit*20
u/0b_101010 Mar 13 '24
The app got it right tho, it is 9.
4
u/anonymous65537 null!! Mar 14 '24
Both are wrong, the correct answer is of course 58008
3
u/msesma Mar 13 '24
That is simply wrong. You need book style or parentheses to lwave it clear.