Page 1 of 1

Fonction Log()

Posted: Sun Aug 16, 2009 5:56 pm
by azarus
I have tried:
showmessage str$ (log(2.718281))
I obtain 1.3132 => Log() is not natural logarithm :ln(e)=1
I have tried:
showmessage str$ (Log(10))
I obtain 2.39 => Log() is not based on 10
It seems that with Fnxbasic ln(x)= Log(x-1).How is it possible ??

Fonction Log()

Posted: Mon Aug 17, 2009 4:44 pm
by Marco
The function log without parameter will return the log of xp1 wich is the natural log of (X+1). I will fix it in the new version.
To get the natural log do log(2.7-1) or log(2.7,2.7)
Best regards