Hello all,

I have this equation:
y = x^z * const  (where all variables are floats)

I need to implement it in C.
The program will input for me the value of y and x and the Const.
I need to extract the value of z.

ln z= ln x^z + lnm const
ln y - ln Const = z ln x
z = ln y - ln Const / ln x

now that i have the final equation, what is the
ln function in C? How to call ln from C?

Thank you.

-- Ibrahim Haddad

Reply via email to