• 2 Posts
  • 89 Comments
Joined 1 year ago
cake
Cake day: July 22nd, 2023

help-circle















  • wischi@programming.devtoMemes@lemmy.mlThey forgot about Rankine
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    7 months ago

    Joules is unfortunately a vector because it’s over a distance in a direction.

    What? Joule is an energy unit and energy is a scalar quantity and not a vector. There is no “energy direction” and no “distance”.

    Edit: even your edit doesn’t make sense. Provide a source that says that energy or joule is somehow a vector.


  • wischi@programming.devOPtoMemes@lemmy.ml6÷2(1+2)
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    7 months ago

    Just saw the image you posted and it’s awesome :-) I’m part of the group that can’t solve it, because I don’t know the 🌭 function from the top of my head. I also found the choice of symbols interesting that 🌭 is analytical continuation of 🍔 and not the other way round 🤣


  • wischi@programming.devOPtoMemes@lemmy.ml6÷2(1+2)
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    Chat GPT’s answer for me:

    Certainly! The expression 6/2(1+2) is ambiguous due to the implicit multiplication. Let’s solve it in both ways:

    1. Implicit multiplication with higher priority:

    [ \frac{6}{2}(1+2) ]

    First, solve the parentheses:

    [ \frac{6}{2}(3) ]

    Now, perform the division:

    [ 3 \times 3 = 9 ]

    1. Implicit multiplication with the same priority as division:

    [ \frac{6}{2(1+2)} ]

    Again, solve the parentheses:

    [ \frac{6}{2(3)} ]

    Now, perform the multiplication first:

    [ \frac{6}{6} = 1 ]

    So, depending on the interpretation of implicit multiplication, you can get different results: 9 or 1.

    I think it’s funny that ChatGPT figured out 1 and 9 but has the steps completely backwards. First it points out what has high priority and then does the exact opposite, both times 🤣



  • wischi@programming.devOPtoMemes@lemmy.ml6÷2(1+2)
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    7 months ago

    Standards are as mentioned in the article often extra careful to prevent confusion and thus often stricter than widespread conventions with things they allow and don’t allow.

    a/b*c is not ambiguous because no widespread convention would treat it any other way than (a/b)*c.

    But you can certainly try to proof me wrong by showing me a calculator that would evaluate 6/2*3 to anything but 9.

    So if there is not a single calculator out there that would come to a different result, how can it be ambiguous?

    Update: Standards are rule-books for real projects to make it simpler to work together. It’s a bit like a Scrabble dictionary. If a word is missing in the official Scrabble dictionary, it doesn’t automatically mean that it’s not a real word, it just means that it wouldn’t be allowed to play that word in official Scrabble tournaments.

    Same with (ISO) standards. Just because the standard forbids it doesn’t mean it’s not widespread or forbidden generally. It’s only forbidden in a context where all participants agreed to follow the standard.


  • wischi@programming.devOPtoMemes@lemmy.ml6÷2(1+2)
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    Exactly a/b*c equals (a/b)*c but I’d instantly reconsider my position if you can show me a single calculator that would handle that diffently (credible calculator, not the once that some students program for homework assignments).

    Even though one shouldn’t treat calculators as some kind of authority but if all calculators handle it that way (all calculators of the five major manufacturers, Google, MathCad, Mathematics, various open source CAS) it’s probably a very good indictator that it’s not ambiguous.

    What I also mentioned in the article is that standards and guidelines are typically stricter than most conventions in the name of clarity. So some of them even forbid things like “a / b * c” even if practically everybody agrees how this should be interpreted, just to be “extra-safe”