4-323
Detailed Explanation of Functions
4MELFA-BASIC IV
Ln
[Function]
Returns the natural logarithm. (Base e.)
[Format]
[Reference Program]
1 M1=Ln(2)
' 0.693147 is assigned to M1.
[Explanation]
(1) Returns the natural logarithm of the value of the equation.
(2) An error will be generated if the equation evaluates to a zero or a negative value.
[Reference]
,
Log
[Function]
Returns the common logarithm. (Base 10.)
[Format]
[Reference Program]
1 M1=Log(2)
' 0.301030 is assigned to M1.
[Explanation]
(1) Returns the common logarithm of the value of the equation.
(2) An error will be generated if the equation evaluates to a zero or a negative value.
[Reference]
,
<Numeric Variable>=Ln(<Equation>)
<Numeric Variable>=Log(<Equation>)