Answer by John Cremona for I do not understand the following:sage:...
An alternative approach is not to use the symbolic ring but a polynomial ring: sage: x = polygen(RR) sage: (x^3+8).roots() [(-2.00000000000000, 1)] This returns a list of roots in RR with multiplcities.
View ArticleComment by kcrisman for I think this is because (-1)^(1/3) is not considered...
This is now http://trac.sagemath.org/sage_trac/ticket/11941.
View ArticleAnswer by kcrisman for I do not understand the following:sage:...
I think this is because `(-1)^(1/3)` is not considered to be real. sage: solve(x^3+1==0,x) [x == 1/2*I*(-1)^(1/3)*sqrt(3) - 1/2*(-1)^(1/3), x == -1/2*I*(-1)^(1/3)*sqrt(3) - 1/2*(-1)^(1/3), x ==...
View ArticleReal Solution of x^3+8 == 0?
I do not understand the following: sage: assume(x,'real') sage: solve(x^3+8==0,x) [] Why does this equation have no solution? But -2 is a solution! Thanks for help!
View Article