COURSE of the MONTH

Calculate Pow() and Log() without using java.math

Hi there,
I needed to do some mathematics in an exercice but I am not allowed to use the java.math class, I need to calculate the power Pow() and logarithm log() with a custom base, base 10 would work as well.
thank you so much!

Thank you for your effort however the "Math" class can never be mentioned and Pow() should work with numbers like 0.53232333 for example and I can't pass a number like that as "int". the Log() function should be base 10 or custom base. In fact I need Pow() to calculate Exponential, Sin, Cosine, if you guys had those functions as well that would be great but with just the Pow() my numbers will come out good because they do if I use math.pow().
any other solutions?
thank you so much

sure, however you referenced "Math" on your code:
"Math.sqrt"
I can't use that but that's not the problem right now as I got that figured out,
I need to calculate the Logarithm in a custom base now, any ideas?
thank you!