Math time!

Does anyone know how to replicate a ln(x) function using simple math?

Doesn't need to give a similar result mathematically, but the graph should look similar.

Basically making it peter out.

Other urls found in this thread:

encrypted.google.com/#q=y=5-1/x
en.m.wikipedia.org/wiki/Harmonic_number.
twitter.com/SFWRedditImages

>not knowing about Maclaurin expansions
underage detected

>replicate a ln(x) function using simple math
>simple math

What does this even mean? Logs are literally basic arithmetic already.

Do a fucking taylor series, you little bitch.
Or just do some type of root if you're just looking for diminishing returns

[math]f(x) = \sum_{k = 0}^x 1/k [/math]

If you need it just for a short interval then you can use linear algebra to find an n-dimensional polynomial that approximates ln(x).

For this you would have to compute the values of ln for the points you want.

Also, this will not guarantee that ln(x)=p(x) where p is your polynomial, just that it will be pretty close.

This has a name but I cannnot remember so just google 'approximate functions using linear algebra' or something like that.

[math]ln(x) = lim_{\epsilon \rightarrow 0}\frac{x^{\epsilon}-1}{\epsilon}[/math]

>[math]ln(x) = lim_{\epsilon \rightarrow 0}\frac{x^{\epsilon}-1}{\epsilon}[/math]
Why didn't that render correctly?

Okay, lets calculate f(5)

Whoops, 1/k=0 does not have a value.

Oh. how dumb of me! You obviously need to take the limit as k approaches 0 for the first step. All right then

f(5) = +infinity

Hmm... I do not think that ln(5) = +infinity but oh well.

It renders fine on TEX preview so Veeky Forums just wants to fuck with you.

Report to the devs or something.