jvillacis Posted October 8, 2020 Share Posted October 8, 2020 I need help with these 3 formulas. Since PHP doesn't accept the LN function. I appreciate the help. 1.162*ln('PREBUN'/'POSTBUN') -ln(('POSTBUN'/'PREBUN)-(0.008*('TIME'/60)))+((4-(3.5*'POSTBUN'/'PREBUN'))*'UFVOL'/'POSTWEIGHT') ln('PREBUN'/'POSTBUN') Quote Link to comment https://forums.phpfreaks.com/topic/311577-need-help-with-natural-log/ Share on other sites More sharing options...
kicken Posted October 8, 2020 Share Posted October 8, 2020 Perhaps if you check the manual, you can find the function you need. Quote Link to comment https://forums.phpfreaks.com/topic/311577-need-help-with-natural-log/#findComment-1581763 Share on other sites More sharing options...
jvillacis Posted October 8, 2020 Author Share Posted October 8, 2020 15 hours ago, kicken said: Perhaps if you check the manual, you can find the function you need. Thanks for the most obvious non helpful comment. I know it's a log function but, I'm having an issue trying to convert it to log that's why I'm asking for help in the "PHP Coding Help" forum. Quote Link to comment https://forums.phpfreaks.com/topic/311577-need-help-with-natural-log/#findComment-1581786 Share on other sites More sharing options...
requinix Posted October 8, 2020 Share Posted October 8, 2020 41 minutes ago, jvillacis said: Thanks for the most obvious non helpful comment. I know it's a log function but, I'm having an issue trying to convert it to log that's why I'm asking for help in the "PHP Coding Help" forum. Then it would probably work better if you had said something like "how do I translate the below equations into PHP code" instead of "PHP doesn't have a ln function so what do I do". What are PREBUN and POSTBUN and TIME and all those? Do you already have them set up as variables? Quote Link to comment https://forums.phpfreaks.com/topic/311577-need-help-with-natural-log/#findComment-1581788 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.