我们将创建一个名为"calculateNaturalLogarithm"的方法,该方法接收一个double类型的参数,并返回该参数的自然对数。 publicclassExcelLNFunction{publicstaticdoublecalculateNaturalLogarithm(doublenumber){returnMath.log(number);}publicstaticvoidmain(String[]args){doublenumber=10.0;doubleresult=calculateNaturalLogarithm(num...
The natural logarithm function of x is generally written as ln x, loge x, or if the base e is implicit, log x. So, Ln(Number) = LOG (Number, e) Where e~= 2.7128 Below is the LN Function Graph In the LN function graph above, the X-axis indicates the number for which log is ...
LOG function Math and trigonometry: Returns the logarithm of a number to a specified base LOG10 function Math and trigonometry: Returns the base-10 logarithm of a number LOGEST function Statistical: Returns the parameters of an exponential trend LOGINV function Compatibility: Returns the inv...
GAMMAINV Returns the inverse of the gamma cumulative distribution GAMMALN Returns the natural logarithm of the gamma function, Γ(x) GEOMEAN Returns the geometric mean GROWTH Returns values along an exponential trend HARMEAN Returns the harmonic mean HYPGEOMDIST Returns the hypergeometric distribution INTE...
GAMMALN Returns the natural logarithm of the gamma function, Γ(x) GEOMEAN Returns the geometric mean GROWTH Returns values along an exponential trend HARMEAN Returns the harmonic mean HYPGEOMDIST Returns the hypergeometric distribution INTERCEPT Returns the intercept of the linear regression line ...
gamma(x) Returns the Gamma function value. gammaLn_Precise(x) Returns the natural logarithm of the gamma function. gammaLn(x) Returns the natural logarithm of the gamma function. gauss(x) Returns 0.5 less than the standard normal cumulative distribution. gcd(values) Returns the greatest common ...
LOG function Math and trigonometry: Returns the logarithm of a number to a specified base LOG10 function Math and trigonometry: Returns the base-10 logarithm of a number LOGEST function Statistical: Returns the parameters of an exponential trend LOGINV function Compatibility: Returns the...
LOG function Math and trigonometry: Returns the logarithm of a number to a specified base LOG10 function Math and trigonometry: Returns the base-10 logarithm of a number LOGEST function Statistical: Returns the parameters of an exponential trend LOGINV function Compatibility: Returns the inv...
GAMMALN Returns the natural logarithm of the gamma function, Γ(x) GEOMEAN Returns the geometric mean GROWTH Returns values along an exponential trend HARMEAN Returns the harmonic mean HYPGEOMDIST Returns the hypergeometric distribution INTERCEPT Returns the intercept of the linear regression line ...
Returns the natural logarithm of a number. =LN(A1) LOG Returns the logarithm of a number to a specified base. =LOG(A1, 10) LOG10 Returns the base-10 logarithm of a number. =LOG10(A1) PI Returns the value of pi. =PI() RANDBETWEEN Returns a random number between the numbers ...