• ChaoticNeutralCzech@feddit.org
    link
    fedilink
    English
    arrow-up
    77
    arrow-down
    1
    ·
    edit-2
    3 days ago

    If you crop the extra white space at the top, this meme has the √2̅:1 (or 2:√2̅) aspect ratio, which I find more pleasing than the “golden ratio”, perhaps because I’m so used to A4 paper

    • drolex@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      16
      arrow-down
      2
      ·
      edit-2
      3 days ago

      Proof?

      ETA: Quick verification.

      x² - x² = 0 and x - x = 0, then 0 = 0 and uh… again.

      • JPAKx4@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        10
        ·
        3 days ago

        If you’re saying two variables are equal, then x=x is valid. The only issue with this is it doesn’t indicate the restriction at x=0. This is a “hole” in the function since anything/0 is undefined. For all other cases the equation holds true.

        • Zagorath@aussie.zone
          link
          fedilink
          English
          arrow-up
          8
          ·
          2 days ago

          No need to escape the carets. On Lemmy, superscript is done by placing a caret both before and after the text you want to be superscript. So

          x = x^1/2^ * x^1/2^
          

          becomes

          x = x1/2 * x1/2

          • humanspiral@lemmy.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 days ago

            is this “true markdown”? What was wrong with “fake markdown” that needed this abomination?

            • Zagorath@aussie.zone
              link
              fedilink
              English
              arrow-up
              3
              ·
              2 days ago

              The dirty little secret is…there is no “true markdown”. There are multiple different implementations of markdown that have been created by different people at different times, all vaguely based on the original not-very-robust definition created by John Gruber with assistance from Aaron Swartz in 2005. But their definition never mentioned superscript at all.

              Because of how unrobust it is, in 2014, some people got together to define a robust specification and called it CommonMark. But again, this does not mention superscript.

              The closest you’ll find to an “official” specification for the extra bits of markdown that aren’t in the CommonMark spec is probably here. But this is really more attempting to describe extended markdown as it is used on the web at large already. In addition to super- and sub-script, it also deals with tables (which work the same way Reddit does them) and fenced code blocks (the triple backtick method, which Reddit does not support—instead supporting only code blocks via four spaces). Though both fenced and indented code blocks are actually in the CommonMark spec.

              Reddit, obviously, is one site that famously implements markdown, and has done for a very long time. On Reddit, superscript is done with a caret before the superscript text, and whitespace after it. Unless you use brackets, in which case the superscript lasts until the closing bracket. e.g. normal^superscript text would make “superscript” superscript, but nothing else. But normal ^(superscript text) would make “superscript text” superscript. But then there’s a second caveat, which is that Reddit supports double (and triple, etc.) superscript. But in these cases, brackets do not work. They unintuitively completely break things.

              Lemmy also uses markdown. The Lemmy specification for how to use markdown is located here. You’ll note that it supports both superscript and subscript, which Reddit does not. It does both of these according to the method explained in the “markdown guide”. Though there are a few issues with inconsistent parsing of the markdown on lemmy-ui (the default web front-end) and some apps (including Jerboa, the 1st-party app).

              The big advantage of the markdown guide method is that it is most similar to how other markdown works. You don’t implicitly close italics on a word with just one asterisk; you need two asterisks—one to open italics, one to close them. Likewise, bold with double asterisks. By using a character to both open and close your super/sub-script, you are making a much clearer and more deliberate intention about what you want, and allowing people to learn things more intuitively, because it all works the same way as each other.

  • ChaoticNeutralCzech@feddit.org
    link
    fedilink
    English
    arrow-up
    52
    ·
    3 days ago

    What if I told you that it works for any number 𝑥 you replace 2 with? (Except for 0 but still working for 𝐥𝐢𝐦 𝑥→0)

  • bleistift2@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    29
    ·
    edit-2
    3 days ago

    Observe the identities

    a / b = a × b^(-1)   (A)
    
    sqrt(a) = a ^ (1/2)  (B)
    
    a^b × a^c = a^(b+c)  (C)
    
    (a^b)^c = a^(b × c)  (D)
    

    and derive

      2 / sqrt(2)
    = 2 / 2^(1/2)           (B)
    = 2 × [2^(1/2)] ^ (-1)  (A)
    = 2 × 2^(1/2 × (-1))    (D)
    = 2 × 2^(-1/2)
    = 2 ^ [1 + (-1 / 2)]    (C)
    = 2 ^ (1/2)
    = sqrt(2)               (B)
    
    • MBM
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 days ago

      1/sqrt(2) and 0.5 * sqrt(2) both being 0.707 always blows my mind even though it’s basic algebra

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    3 days ago

    This isn’t intuitive to people?

    2/sqrt(2) = ( sqrt(2)*sqrt(2) ) / sqrt(2)
    

    Then cancelling out one of the sqrt(2)s in the numerator with the sqrt(2) in the denominator, you’re left with sqrt(2).

    I do a lot of toodling around in OpenSCAD, though, and sqrt(2) tends to come up a lot because, you know, Pythagoras and right triangles and all that.

    • ftbd@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Also pops up a lot in basic electrical engineering as the conversion factor between amplitude and RMS value of sine waves