** ^{}**Introduction to BASIC

Logarithmic Functions

BASIC has the logarithmic function of base 10 LOG10(

Any logarithmic function of another base can be defined as follows

Example.

10 DEF log3(x)=LOG(x)/LOG(3) 20 PRINT log3(8) 30 END

[Note]

The natural exponential function is EXP(*x*).