Updates:
Status: Invalid
Comment #1 on issue 3266 by [email protected]: many problems in solve
http://code.google.com/p/sympy/issues/detail?id=3266
And what is wrong here? The solutions are correct!
In [22]: s2
Out[22]: -21/2 + sqrt(31929)/10
In [23]: s1
Out[23]: -sqrt(31929)/10 - 21/2
In [24]: eqn = 50*x**2-10452+1050*x
In [25]: eqn
Out[25]: 50*x**2 + 1050*x - 10452
In [26]: eqn.subs(x, s1)
Out[26]: -21477 - 105*sqrt(31929) + 50*(-sqrt(31929)/10 - 21/2)**2
In [27]: simplify(_)
Out[27]: 0
In [28]: eqn.subs(x, s2)
Out[28]: -21477 + 50*(-21/2 + sqrt(31929)/10)**2 + 105*sqrt(31929)
In [29]: simplify(_)
Out[29]: 0
--
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.