[SciPy-User] How can I solve a equation like sqrt(log(x)*erfc(exp(log(x)+1)) - 1) = 2 and exp((log(x) - 1.5)**2 - 3) = 5

Johnny dbigbear at gmail.com
Sun Aug 28 02:18:54 EDT 2011


Hi, I am trying to solve the follow equation:

solve(x * ((1.0 / sqrt(2 * pi) * x * sigma) * exp(-0.5 * (log(x) -
mu)**2 / sigma**2)) + 0.5 * erfc((mu - log(x)) / (sigma * sqrt(2))) -
1, x)

I am not sure Scipy can do it and how it can do it ?


Many thanks
Xiong






More information about the SciPy-User mailing list