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 ? Link to comment https://forums.phpfreaks.com/topic/285303-logarithm-equation/ Share on other sites More sharing options...
kicken Posted January 12, 2014 Share Posted January 12, 2014 log Link to comment https://forums.phpfreaks.com/topic/285303-logarithm-equation/#findComment-1464918 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 Link to comment https://forums.phpfreaks.com/topic/285303-logarithm-equation/#findComment-1464922 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. Link to comment https://forums.phpfreaks.com/topic/285303-logarithm-equation/#findComment-1464925 Share on other sites More sharing options...
dungpt29 Posted January 12, 2014 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))); Link to comment https://forums.phpfreaks.com/topic/285303-logarithm-equation/#findComment-1464938 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.