Another important class of math functions deals with powers, logarithms, and exponents.
This operator, found on the keyboard, is the exponent operator. It will raise a number to a power.
These are shortcuts for the reciprocal, square, and cube of a number respectively. ^^-1^^ and ^^2^^ can be found on the keyboard, while ^^3^^ can be pasted by pressing MATH, 3.
where b is the desired base.
A useful use of log( is to determine how many digits an integer has. An integer n will have
digits in base 10.
These functions can be found on the keybord, by pressing 2nd plus the respective logarithm key. Of course you could always type these out one character at a time, but using the shortcuts takes less bytes.
These functions take the square root, cube root, and nth root of a number, respectively.
will give the same result as
namely, the 5th root of 2.
|<< Numbers Menu||Table of Contents||Probability >>|