Comment #2 on issue 3721 by [email protected]: solve should handle more than
one abs
http://code.google.com/p/sympy/issues/detail?id=3721
yes...here is a better example
eq = abs((2*x+5))-3*abs((2*x-2))
It may be as simple as replacing abs with sqrt(arg**2):
eq.replace(Abs, lambda x: sqrt(x**2))
-3*sqrt((2*x - 2)**2) + sqrt((2*x + 5)**2)
solve(_)
[1/8, 11/4]
[eq.subs(x,i) for i in _]
[0, 0]
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.