|
This function
determines the natural logarithm of a number.
There are two types
of logarithms widely in use. They are the "natural logarithm" and the
"base 10 logarithm". Most scientific calculators can do both. To
distinguish between them, they use the terminology ln() for the natural
logarithm and log() for the base 10 logarithm. The inverse functions are
e^x and 10^x respectively. abcDB, however, only supports the natural
logarithm. In abcDB, Log() is the natural logarithm.
LOG(Number)
PARAMETERS
Number
The number from which to determine the
logarithm.
Example: Prompt
the user for a value, save that value in a variable named NUMBER and then
save the LOG of NUMBER into the TEXT1
textbox.
SETMEM(Number//<<”Enter a
number”>>)
SETVALUE(~TEXT1~//LOG(<!Number!>)) |