lemmy.onlylans.io
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
SnokenKeekaGuard@lemmy.dbzer0.com to Memes@lemmy.ml · 2 年前

Took me a minute.

lemmy.dbzer0.com

message-square
26
fedilink
683

Took me a minute.

lemmy.dbzer0.com

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

    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 年前

      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 年前

        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 年前

          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 年前

      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 年前

      Well that’s annoying…

    • NightAuthor@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 年前

      Make your own package, or just macro that shit.

    • Seeker of Carcosa@feddit.uk
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 年前

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

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

      even Matlab suffers from this

      • vivadanang@lemm.ee
        link
        fedilink
        arrow-up
        7
        ·
        2 年前

        suffers?

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

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

          • grue@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            2 年前

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

    Still dnt get it bruv

    • mkwarman@lemmy.mkwarman.com
      link
      fedilink
      English
      arrow-up
      95
      ·
      edit-2
      2 年前

      “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 年前

        ❤️

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

        Wow, i just lost some brain cells for this 🤣

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

          Or it is just idiotic.

    • Masimatutu@lemm.ee
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      2 年前

      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@lemmy.eco.br
        link
        fedilink
        arrow-up
        6
        ·
        2 年前

        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 年前

        Checking if thunder can subscript…

        Edit: Nope, it can’t…

        • zzzz@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          2 年前

          Well, shite

          • well5H1T3@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            2 年前

            🍻

        • macniel@feddit.de
          link
          fedilink
          arrow-up
          4
          ·
          2 年前

          Pretty sure that superscript is using circumflex

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

            And it doesnt work

            • macniel@feddit.de
              link
              fedilink
              arrow-up
              2
              ·
              2 年前

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

    • OrteilGenou@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 年前

      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: [email protected]

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.47K users / day
  • 3.4K users / week
  • 6.54K users / month
  • 16.9K users / 6 months
  • 1 local subscriber
  • 53.2K subscribers
  • 14.4K Posts
  • 291K Comments
  • Modlog
  • mods:
  • ghost_laptop@lemmy.ml
  • sexy_peach@feddit.de
  • Cyclohexane@lemmy.ml
  • Arthur Besse@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org