• 1 Post
  • 8 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle

  • Vagabond@kbin.socialto196@lemmy.blahaj.zonerule
    link
    fedilink
    arrow-up
    82
    ·
    11 months ago

    It really bugs me that someone highlighted and circled this as if they found this ironic error when it was written as a joke headline in the first place and it went clear over their head. The equivalent of red circles and arrows on thumbnails


  • Vagabond@kbin.socialtoAsklemmy@lemmy.mlWhats your such opinion
    link
    fedilink
    arrow-up
    10
    arrow-down
    2
    ·
    11 months ago

    I see what you’re getting at but the issue isn’t really the assumed multiplication symbol and it’s priority. It’s the fact that when there is implicit multiplication present in an algebraic expression, and really best practice for any math above algebra, you should never use the ‘÷’ symbol. You need to represent the division as a numerator and denominator which gets rid of any ambiguity since the problem will explicitly show whether (2+2) is modifying the numerator or denominator. Honestly after 7th grade I can’t say I ever saw a ‘÷’ being used and I guess this is why.

    That said, I’ll die on a hill that this is 16.


  • Ah sorry just realized what you were saying. I’ve never been taught that. Maybe it’s just a difference in teaching styles, but it shouldn’t be since it can actually change the outcome. The way I was always taught was if you see a number butted up against an expression in parentheses you assume there is a multiplication symbol there.

    So you were taught that 2(2+2) == (2(2+2))
    I was taught 2(2+2)==2*(2+2)

    Interesting difference though because again, assuming invisible parentheses can really change up how a problem is done.

    Edit: looks like theshatterstone54’s comment assumed a multiplication symbol as well.


  • Vagabond@kbin.socialtoAsklemmy@lemmy.mlWhats your such opinion
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    11 months ago

    Not quite. It’s true you resolve what’s inside the parentheses first, giving you. 8÷2(4) or 8÷2x4.
    Now this is what gets most people. Even though Multiplication technically comes before Division the Acronym PEMDAS, that’s really just to make it sound correct phonetically. Really they have equal priority in the order of operations and the appropriate way to resolve the problem is to work from left to right solving each multiplication or division sign as you encounter them. Giving you 16. Same for addition and subtraction.

    So basically the true order of operations is:

    1. Work left to right solving anything inside parentheses
    2. Work left to right solving any exponentials
    3. Work left to right solving any multiplication or division
    4. Work left to right solving any addition or subtraction

    Source: Mechanical Engineering degree so an unfortunate amount of my life spent in math and physics classes.




  • I’m finding the opposite actually. Tried it months ago for basic python scripts and it was garbage. Recently started a project where I needed some c++ scripts to flash into an avr microcontroller and it’s been killing it. To be fair I did a decent amount of code myself and also knew exactly what I wanted the program to do. But it has been really good about cleaning up my code, keeping the code consistent through multiple iterations, and understanding my explanations. It teaches me new functions that I didn’t know existed which make the code better and faster. Also, when I was designing the circuit, I could describe what I needed a component to do and it would give me whole lists of, for example, possible types of 5volt voltage regulators and the differences between them.

    I equate it to having a coworker rather than an employee. I can’t really just tell it to do stuff and it’ll spit out a perfect script. I need to work with it to make sure it understands my requirements and realizes it’s errors. The biggest advantage is this coworker has encyclopedic knowledge of electrical components and c++.