Exponential function and natural logarithm
Hi,
What is the easiest way to calculate exponential function and natural logarithm in Dataverse? In a typical spreadsheet program you would typically use EXP() and LN() formulas. Is it as easy in Dataverse?
-
Dataverse has pow() and log() you can compute the exp() and ln() with two simple formulas.
e=2.718281828459045 #add more digits as necessary for acuracy
ln(x) = log(x) / log(e)exp(x) = pow(e,x)
You can also use
n=1000000000 #add more digits as necessary for acuracy
e = pow((1+1/n),n)to compute the value of e
Please sign in to leave a comment.
Comments
1 comment