Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.