All I know is that I can do log(number)
to get log base ten and ln(number)
to get log base e
. How can I insert logarithms with other bases in Google Calculator? I can't seem to figure it out.
[Math] way to insert Log base-something into Google Calculator
calculatorlogarithms
Best Answer
For base $b=10$ we can use
log_10(n)
orlog(n)
For base $b=e$ we can use
ln(n)
For base $b=2$ we can use
log_2(n)
orlg(n)
Other bases aren't implemented, so we use the Change of Base Rule, namely $\log_b(n) = \frac{\ln(n)}{\ln(b)}$ which we put into the calculator as
ln(n)/ln(b)
. This works with any other base, solog(n)/log(b)
would be the same.