Comment #1 on issue 1325 by rwnobrega: solve(2**x-5*x, x) gives  
assertionerror
http://code.google.com/p/sympy/issues/detail?id=1325

 From solvers.py:

     """ This module contain solvers for all kinds of equations:

         - algebraic, use solve()

         - recurrence, use rsolve()

         - differential, use dsolve()

         - transcendental, use tsolve()

         - nonlinear (numerically), use msolve() (you will need a good  
starting point)

     """

So, this works:

     In [1]: tsolve(2**x-5*x, x)
     Out[1]:
     ⎡         ⎛-log(2)⎞⎤
     ⎢-LambertW⎜───────⎟⎥
     ⎢         ⎝   5   ⎠⎥
     ⎢──────────────────⎥
     ⎣      log(2)      ⎦

Maybe solve should be renamed to something like asolve and solve itself  
should guess
the appropriate kind of equation (algebraic, transcendental, etc) and,  
accordingly,
call asolve, tsolve or whatever.

--
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