684
Took me a minute. (lemmy.dbzer0.com)
you are viewing a single comment's thread
view the rest of the comments
[-] Ragdoll_X@lemmy.world 43 points 11 months ago* (last edited 11 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 11 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 11 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 11 months ago* (last edited 11 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.

load more comments (9 replies)
this post was submitted on 17 Sep 2023
684 points (97.0% liked)

Memes

44788 readers
2552 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