Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
In Java, Math.log calculates the natural logarithm. Accordingly, you need to change the base of the logarithm in order to calculate correctly.
For example, the logarithm to base b would be Math.log(x) / Math.log(b).
With this knowledge, it will not be difficult to rewrite your expression.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question