420
submitted 11 months ago by Toes@ani.social to c/196@lemmy.blahaj.zone
you are viewing a single comment's thread
view the rest of the comments
[-] Zagorath@aussie.zone 8 points 11 months ago

The answer is 1, but the logic you've used to get there is a little off. Different groups actually follow different logic, but they usually arrive at the same end-point.

The American Mathematical Society goes:

  • Brackets
  • Indices
  • Multiplication indicated by juxtaposition
  • Regular multiplication and division
  • Addition and subtraction

While the American Physical Society does

  • Brackets
  • Indices
  • Multiplication
  • Division
  • Addition and subtraction

In both cases, addition and subtraction are equal in priority (this solves the problem brought up by a different comment where following primary school BIDMAS would mean 8-4+2=2). In one case (and this is the way I prefer to do it) they solve the problem by declaring that implicit multiplication is done before division, but explicit multiplication with the × sign follows the same rules you would have learnt in primary school. The other says all multiplication is done before division, including explicit multiplication.

[-] SmartmanApps@programming.dev 1 points 7 months ago

follows the same rules you would have learnt in primary school

It's never that - that's how people are getting the wrong answer. In high school you get taught about The Distributive Law.

this post was submitted on 03 Dec 2023
420 points (100.0% liked)

196

16416 readers
1895 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS