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
[-] 4am@lemm.ee 3 points 11 months ago

What the fuck is the difference in implicit vs explicit? It’s the same operation, why the fuck does it matter if there is a symbol?

Multiplication comes first, then division.

[-] 0ops@lemm.ee 11 points 11 months ago

Division is a form of Multiplication, just as subtraction is a form of addition. You multiply and divide in the same step, left to right

[-] Malgas@beehaw.org 8 points 11 months ago

No, multiplication and division are resolved from left to right in the same step. But implicit multiplication (xy, as opposed to x*y) happens first.

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

the difference in implicit vs explicit? It’s the same operation

"implicit multiplication" isn't even a real thing in Maths, and isn't even multiplication to begin with - people use that umbrella term to either mean The Distributive Law - which is the first step is solving Brackets - or Terms, which are products, which is the result of a multiplication.

e.g. if a=2 and b=3, then...

axb=2x3 - 2 terms

ab=6 - 1 term

Multiplication comes first, then division

They can be done in either order, or even together, as long as you go left to right.

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

196

16563 readers
1865 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