Adam_Duski Posted January 12, 2014 Share Posted January 12, 2014 i have this Logarithm equation ... the one in the red circle is the question ...soo i wanna know how to solve that equation with PHP ? Quote Link to comment Share on other sites More sharing options...
kicken Posted January 12, 2014 Share Posted January 12, 2014 log Quote Link to comment Share on other sites More sharing options...
Adam_Duski Posted January 12, 2014 Author Share Posted January 12, 2014 Thank you kicken ! but i don't know how solve it Quote Link to comment Share on other sites More sharing options...
requinix Posted January 12, 2014 Share Posted January 12, 2014 sqrt? What don't you understand? It's an equation. Translate that equation into code and you'll get your answer. Quote Link to comment Share on other sites More sharing options...
Solution dungpt29 Posted January 12, 2014 Solution Share Posted January 12, 2014 Note that: x = exp(log(x)); So, 1/5 = 5-1 = exp(log(5-1)) = exp(-log(5)); The PHP code to solve the equation should be: $x = log(sqrt(5),exp(-log(5))); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.