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
.
Base e is considered the natural logarithm and is what you’ll get if you call log in most programming languages targeted at math.
Why is that, off the top of my head I don’t remember seeing base e logarithms too often, why are they so important?
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.
Still dnt get it bruv
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
“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