Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Pedro Gilbert   on Sep 05 In Java Category.

  
Question Answered By: Taylor Evans   on Sep 05

It's been a while since I had to do anything like this, but I think that this
will work:

public static double  calcExponent(double b, double y)
{
return (Math.log(y) / Math.log(b));
}

Share: