Is there any way to find value of log 3 (base) 5 (exponent)?

Viewed 47

When finding the value of log 3 (base) 5 (exponent)

Is it common to use common log / common log ?

If there is another way, please let me know.

2 Answers

Change of base formula

You can use common log / common log.

yes its common to use

logb(a) = log(a)/log(b)

If you do not have log then you can compute it using binary search x in b^x <= a where x <= logb(a)

there are also other ways for example you can use some kind of series like Taylor, Chebychev or some math identity or fit with curve etc.

Algorithm depends also on targeted domain and also on computing environment. I recommend to see:

especially the links at the end ...

Related