Brasil
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
SnokenKeekaGuard@lemmy.dbzer0.com to Memes@lemmy.ml · 2 years ago

Took me a minute.

lemmy.dbzer0.com

message-square
26
link
fedilink
677

Took me a minute.

lemmy.dbzer0.com

SnokenKeekaGuard@lemmy.dbzer0.com to Memes@lemmy.ml · 2 years ago
message-square
26
link
fedilink
alert-triangle
You must log in or register to comment.
  • Ragdoll X@lemmy.worldBannedBanned from community
    link
    fedilink
    arrow-up
    44
    arrow-down
    1
    ·
    edit-2
    2 years ago

    I was a bit disappointed to learn that math-related Python packages don’t seem to have an ln function. They all use log for the natural log and also have a log10.

    • Afrazzle@sh.itjust.works
      link
      fedilink
      arrow-up
      22
      ·
      2 years ago

      Base e is considered the natural logarithm and is what you’ll get if you call log in most programming languages targeted at math.

      • Redex@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        Why is that, off the top of my head I don’t remember seeing base e logarithms too often, why are they so important?

        • LaLiLuLuCo@lemmy.ca
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          2 years ago

          They get used all over especially in differential equations.

          Log10 basically only comes up in statistics for doing a log plot in base 10.

          Basically high school math won’t use the natural log much, but once you hit university higher level math it becomes apparent it’s the one everyone actually uses regularly.

    • janAkali@lemmy.one
      link
      fedilink
      English
      arrow-up
      11
      ·
      2 years ago

      You know what’s even more dissapointing? bc - arbitrary precision calculator for linux shell uses ‘l’ for natural log, just a single letter.
      And there’s no other log function, so when you need logx(y) you write: ''l(y)/l(x)".

    • EveryMuffinIsNowEncrypted@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      7
      ·
      2 years ago

      Well that’s annoying…

    • NightAuthor@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 years ago

      Make your own package, or just macro that shit.

    • Yuumi@lemmy.ml
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      2
      ·
      2 years ago

      even Matlab suffers from this

      • vivadanang@lemm.ee
        link
        fedilink
        arrow-up
        7
        ·
        2 years ago

        suffers?

        • Yuumi@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          2 years ago

          Yes? Suffer -> Suffering / Suffers ? Is this not correct?

          • grue@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            2 years ago

    • Seeker of Carcosa@feddit.uk
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 years ago

      That’s because mathematicians use log for the natural logarithm. Log base 10 would be log_10

  • well5H1T3@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    8
    ·
    2 years ago

    Still dnt get it bruv

    • mkwarman@lemmy.mkwarman.com
      link
      fedilink
      English
      arrow-up
      94
      ·
      edit-2
      2 years ago

      “ln(x)” is another way of writing log sub e of x https://en.m.wikipedia.org/wiki/Natural_logarithm

      The “ln” of the “you son of a bitch. I’m ln” is referencing that identity

      • danieljoeblack@kbin.social
        link
        fedilink
        arrow-up
        13
        ·
        2 years ago

        ❤️

      • well5H1T3@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        31
        ·
        2 years ago

        Wow, i just lost some brain cells for this 🤣

        • bankimu@lemm.ee
          link
          fedilink
          arrow-up
          1
          arrow-down
          8
          ·
          2 years ago

          Or it is just idiotic.

    • Masimatutu@lemm.ee
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      2 years ago

      ln(x) (I believe abbreviated from the french logarithme naturel) is the same as the logarithm of x base e (loge(y))

      Edit: subscript doesn’t seem to work for me on Jerboa but I’m keeping it as it is

      • driving_crooner
        link
        fedilink
        arrow-up
        6
        ·
        2 years ago

        It’s also called logarithme népérien, for Jonh Napier, mathematician who discovered a lot of the properties of the logarithmic function.

      • well5H1T3@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        2 years ago

        Checking if thunder can subscript…

        Edit: Nope, it can’t…

        • macniel@feddit.de
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          Pretty sure that superscript is using circumflex

          • mexicancartel@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            4
            ·
            2 years ago

            And it doesnt work

            • macniel@feddit.de
              link
              fedilink
              arrow-up
              2
              ·
              2 years ago

              Huh you are right. It only works on the web frontend, not on the mobile apps.

        • zzzz@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          Well, shite

          • well5H1T3@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 years ago

            🍻

    • OrteilGenou@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 years ago

      ln you a hand

Memes@lemmy.ml

memes@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !memes@lemmy.ml

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.07K users / day
  • 3.65K users / week
  • 9.37K users / month
  • 23.2K users / 6 months
  • 87 local subscribers
  • 50.3K subscribers
  • 13.7K Posts
  • 303K Comments
  • Modlog
  • mods:
  • ghost_laptop@lemmy.ml
  • sexy_peach@feddit.de
  • Cyclohexane@lemmy.ml
  • Arthur Besse@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org