this post was submitted on 17 Sep 2023
632 points (97.0% liked)

Memes

45581 readers
1 users here now

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.

founded 6 years ago
MODERATORS
 
top 23 comments
sorted by: hot top controversial new old
[–] Ragdoll_X@lemmy.world 38 points 2 years ago* (last edited 2 years ago) (5 children)

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.

[–] janAkali@lemmy.one 11 points 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)".

Well that's annoying..

[–] NightAuthor@lemmy.world 4 points 2 years ago

Make your own package, or just macro that shit.

[–] WilloftheWest@feddit.uk 4 points 2 years ago

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

[–] Ozzy@lemmy.ml 4 points 2 years ago (1 children)

even Matlab suffers from this

[–] vivadanang@lemm.ee 6 points 2 years ago (1 children)
[–] Ozzy@lemmy.ml 1 points 2 years ago (1 children)

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

[–] 0_0j@lemmy.world 10 points 2 years ago (3 children)
[–] mkwarman@lemmy.mkwarman.com 86 points 2 years ago* (last edited 2 years ago) (2 children)

"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

[–] Masimatutu@lemm.ee 10 points 2 years ago* (last edited 2 years ago) (2 children)

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

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

[–] 0_0j@lemmy.world 6 points 2 years ago* (last edited 2 years ago) (2 children)

Checking if ~thunder~ can subscript...

Edit: Nope, it can't...

[–] zzzz@lemmy.world 4 points 2 years ago (1 children)
[–] 0_0j@lemmy.world 3 points 2 years ago
[–] DmMacniel@feddit.de 4 points 2 years ago (1 children)

Pretty sure that superscript is using ^circumflex^

[–] mexicancartel@lemmy.dbzer0.com 4 points 2 years ago (1 children)
[–] DmMacniel@feddit.de 2 points 2 years ago

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

[–] driving_crooner@lemmy.eco.br 4 points 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.

[–] OrteilGenou@lemmy.world 5 points 2 years ago

ln you a hand