Hi all - I suspect this is a dumb noob question but after browsing the
tutorial and other docs, I can't get this to work,
from sympy import symbols, solve
x = symbols('x')
f_x = (((2/x + x_max) * (1-exp(x*x_max)) + 2*x_max*exp(x*x_max)) / (exp
(x*x_max) - 1 - x*x_max)) - x_mean
solutions = solve(f_x, x)
...I get the error, ValueError: Symbolic value, can't compute for the
f_x line. x_max, x_mean are supplied parameters (constants, in f_x).
Any help appreciated!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---