Comment #15 on issue 3560 by [email protected]: solve() is a giant mess
http://code.google.com/p/sympy/issues/detail?id=3560

Here's the result in the latest git master:

0.7.2-git
[RootOf(x**5 - 5*x + 12, 0), RootOf(x**5 - 5*x + 12, 1), RootOf(x**5 - 5*x + 12, 2), RootOf(x**5 - 5*x + 12, 3), RootOf(x**5 - 5*x + 12, 4)] [-1.84208596619025, -0.351854240827372 - 1.70956104337033*I, -0.351854240827372 + 1.70956104337033*I, 1.2728972239225 - 0.719798681483861*I, 1.2728972239225 + 0.719798681483861*I]
[]
[RootOf(a**5 - 5*a + 12, 0), RootOf(a**5 - 5*a + 12, 1), RootOf(a**5 - 5*a + 12, 2), RootOf(a**5 - 5*a + 12, 3), RootOf(a**5 - 5*a + 12, 4)] [-1.84208596619025, -0.351854240827372 - 1.70956104337033*I, -0.351854240827372 + 1.70956104337033*I, 1.2728972239225 - 0.719798681483861*I, 1.2728972239225 + 0.719798681483861*I]
[]
[{a: -sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2 + sqrt(-2*(25/16 + 3*sqrt(1751)*I/16)**(1/3) - 10/sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3)) - 8/(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2}, {a: sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2 - sqrt(-2*(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 10/sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3)) - 8/(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2}, {a: -sqrt(-2*(25/16 + 3*sqrt(1751)*I/16)**(1/3) - 10/sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3)) - 8/(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2 - sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2}, {a: sqrt(-2*(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 10/sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3)) - 8/(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2 + sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2}] [(-sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2 + sqrt(-2*(25/16 + 3*sqrt(1751)*I/16)**(1/3) - 10/sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3)) - 8/(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2,), (sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2 - sqrt(-2*(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 10/sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3)) - 8/(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2,), (-sqrt(-2*(25/16 + 3*sqrt(1751)*I/16)**(1/3) - 10/sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3)) - 8/(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2 - sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2,), (sqrt(-2*(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 10/sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3)) - 8/(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2 + sqrt(8/(25/16 + 3*sqrt(1751)*I/16)**(1/3) + 2*(25/16 + 3*sqrt(1751)*I/16)**(1/3))/2,)]

The output is the same in Python 2 and 3 (I think it only differed for you because you have different versions installed).

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


Reply via email to