I just had this problem come up at work, as part of a simulation where I had to solve the equation mentioned above (where m and k are constants). I googled solving exponential equations and I got so far as realizing that I need to log both sides of the equation resulting in:
2lnx=−mx+lnk
The above form of the equation seems more intractable than the first and am at a loss regarding how to proceed. Can someone please give me a hint as to the way forward?
Answer
When you have exponential and linear or quadratic function in same equation, you must use Lambert-W function which is defined as inverse function of f(x)=exx.
2lnx=−mx+lnk
x2=e−mxk
e−mxk=x2
e−mxx−2=1k
emx2x=√k
emx2mx2=m√k2
mx2=Wk(m√k2),k∈Z
x=2Wk(m√k2)m
No comments:
Post a Comment