Comment #82 on issue 1694 by nicolas.pourcelot: solve has many issues with
fractions
http://code.google.com/p/sympy/issues/detail?id=1694
Work in progress... but issues remain.
There is at least one issue with factor() use:
solve(4*3**(5*x+2)-7,x) does not work anymore.
factor(4*3**(5*x+2)-7)
-7 + 36*(3**x)**5
solve(-7 + 36*(3**x)**5, x)
409 if strategy == GS_POLY:
--> 410 poly = f.as_poly(symbol)
411 if poly is None:
412 raise NotImplementedError("Cannot solve equation " +
str(f) + " for "
NotImplementedError: Cannot solve equation -7 + 36*(3**x)**5 for x
There's 2 distinct problems:
1) wrong strategy is used (GS_POLY instead of GS_TRANSCENDANTAL)
2) even if tsolve() is called directly, tsolve() can't solve this reshaped
equation.
It seems implementation won't be se obvious ! :-(
That's all for today.
Attachments:
0001-solver-sets-used-internally-and-a-few-fixes.patch 12.8 KB
--
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.