684
Took me a minute. (lemmy.dbzer0.com)
top 26 comments
sorted by: hot top controversial new old
[-] Ragdoll_X@lemmy.world 43 points 9 months ago* (last edited 9 months 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 22 points 9 months 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.

[-] Redex68@lemmy.world 3 points 9 months 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 4 points 9 months ago* (last edited 9 months 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 11 points 9 months 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 5 points 9 months ago

Make your own package, or just macro that shit.

[-] Ozzy@lemmy.ml 4 points 9 months ago

even Matlab suffers from this

[-] vivadanang@lemm.ee 7 points 9 months ago
[-] Ozzy@lemmy.ml 1 points 9 months ago

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

[-] grue@lemmy.world 4 points 9 months ago
[-] WilloftheWest@feddit.uk 4 points 9 months ago

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

[-] 0_0j@lemmy.world 12 points 9 months ago
[-] mkwarman@lemmy.mkwarman.com 95 points 9 months ago* (last edited 9 months 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 13 points 9 months ago
[-] Masimatutu@lemm.ee 11 points 9 months ago* (last edited 9 months ago)

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

[-] driving_crooner@lemmy.eco.br 6 points 9 months ago

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

[-] 0_0j@lemmy.world 6 points 9 months ago* (last edited 9 months ago)

Checking if ~thunder~ can subscript...

Edit: Nope, it can't...

[-] zzzz@lemmy.world 4 points 9 months ago
[-] 0_0j@lemmy.world 3 points 9 months ago
[-] DmMacniel@feddit.de 4 points 9 months ago

Pretty sure that superscript is using ^circumflex^

[-] mexicancartel@lemmy.dbzer0.com 4 points 9 months ago
[-] DmMacniel@feddit.de 2 points 9 months ago

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

[-] OrteilGenou@lemmy.world 5 points 9 months ago

ln you a hand

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

Memes

44066 readers
2292 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 5 years ago
MODERATORS