Updates:
Status: Fixed
Owner: smichr
Comment #7 on issue 1325 by plaes800: solve(2**x-5*x, x) gives
assertionerror
http://code.google.com/p/sympy/issues/detail?id=1325
Smichr, could you please open separate bug for tsolve() problem?
The original issue with solve() is solved no
Comment #6 on issue 1325 by smichr: solve(2**x-5*x, x) gives assertionerror
http://code.google.com/p/sympy/issues/detail?id=1325
Also, attempting solve(exp(log(5)*x)-2**x, x) with the 1398 solver fails:
>>> tsolve(exp(log(5)*x)-2**x, x)
Got strategy 5
>>> 5
Got strategy 0
>>> 0
Traceback (most
Comment #5 on issue 1325 by smichr: solve(2**x-5*x, x) gives assertionerror
http://code.google.com/p/sympy/issues/detail?id=1325
1398 modification of solver gives
>>> solve(2**x-5*x, x)
Got strategy 5
>>> 5
[-LambertW(-log(2)/5)/log(2)]
The tsolve bugs remain.
--
You received this message beca
Updates:
Labels: Solvers
Comment #4 on issue 1325 by Vinzent.Steinberg: solve(2**x-5*x, x) gives
assertionerror
http://code.google.com/p/sympy/issues/detail?id=1325
(No comment was entered for this change.)
--
You received this message because you are listed in the owner
or CC fields
Comment #3 on issue 1325 by fredrik.johansson: solve(2**x-5*x, x) gives
assertionerror
http://code.google.com/p/sympy/issues/detail?id=1325
solve should handle everything.
Also, when testing this, I mistyped * as ** and found the following bug:
>>> tsolve(exp(log(5)*x)-2**x, x)
[1/log(5)*log
Comment #2 on issue 1325 by ondrej.certik: solve(2**x-5*x, x) gives
assertionerror
http://code.google.com/p/sympy/issues/detail?id=1325
Yes, I absolutely agree.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You
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()
Status: Accepted
Owner: plaes800
Labels: Type-Defect Priority-Medium
New issue 1325 by plaes800: solve(2**x-5*x, x) gives assertionerror
http://code.google.com/p/sympy/issues/detail?id=1325
I was trying first example from
http://en.wikipedia.org/wiki/Lambert_W_function#Examples and it broke
sy