Comment #1 on issue 1572 by smichr: solve() should be able to solve  
expressions where variable only appears once
http://code.google.com/p/sympy/issues/detail?id=1572

I've got a solver that I've been working on that does exactly this. The  
last "20%" is
taking 80% of my time, though! I keep getting caught by issues, especially  
those
involved with the (rascally) radicals.

>>> solv((2**exp(y**2/x) + 2)/(x**2 + 15), y)
[-x**(1/2)*log(1 + pi*I/log(2))**(1/2), x**(1/2)*log(1 +  
pi*I/log(2))**(1/2)]
>>> C1, C2 = symbols('C1 C2');solv(C1 + C2/x**2 - exp(-f(x)), f(x))
[-log(C1 + C2/x**2)]

What I've got isn't ready for sympy inclusion as it needs lots more tests,  
but
perhaps I can push an experimental branch if you (or others) are  
interested. It is
able to complete the equation set submitted by Vinzent in Issue 1172 (which  
was an
excellent set of equations to provide a solver "torture test"). I'm still  
checking
the more general lambert solver, but the more basic solving methods are in  
place.

If there is interest in the beta code, let me know.

/c

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to