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

    No one stops you from putting radians and steradians in your units. But it’s unitless by definition.

    • Another Catgirl@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      I strongly disagree with the definition itself. And yes, there are stops that prevent me from doing that in scientific computing resources like sympy, matlab, and my professors.

        • Another Catgirl@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          yep, I don’t think the question “what’s the cos of a unit” is valid because cos expects a plane angle in the input and a unit doesn’t meet that expectation; it’s underdefined; it depends whether the calculator is set to radians or degrees.

          • alsimoneau@lemmy.ca
            link
            fedilink
            English
            arrow-up
            2
            ·
            12 hours ago

            It’s not undefined. You cannot take the exponential of anything with dimensions. That also applied to logs and trigonometric functions. Ergo, angles must be unitless.

            • Another Catgirl@lemmy.blahaj.zone
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 hours ago

              I understand that the taylor series used to define sin and cos is a function with a unitless input but practically, a lot of people like to use degrees for the input of sin and cos instead. I hate that it’s ambiguous, because calculator software devs use it as an excuse to misrepresent physical quantities like angular velocity, frequency, torque, etc.

              Also, it’s very valuable to be flexible with the count of base units defined in the system. A lot of software is written with three (length, mass, time), some with 7 (as in SI), and I want to be able to shove in angle as a base unit in anywhere.