Compute natural logarithm.
The log[] function in math is a function that returns the natural logarithm (base e) of a number. The natural logarithm is the logarithm to the base e, where e is the mathematical constant approximately equal to 2.71828. It is the inverse of the exponential function. The input to the function is a number and the output will be a float.
For example, log[e] would return 1, and log[10] would return 2.30258509.
The log[] function is commonly used in mathematics, physics, engineering and other fields, such as solving equations involving exponentials and logarithms, as well as in various algorithms and data analysis.
log[x]
#<result> = log[10] (print,#<result>)
result: 2.30258509