Jump to content

Recommended Posts

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')

 

Link to comment
https://forums.phpfreaks.com/topic/311577-need-help-with-natural-log/
Share on other sites

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.

 

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.