First time here? Check out the FAQ!
answered 2023-12-01 07:31:10 +0200
If you need exact results, you can use:
x = PolynomialRing(QQbar, 'x').gen() f = x^4 + 1 rs = f.roots(ring=QQbar,multiplicities=False) [f(u).radical_expression() for u in rs] [0, 0, 0, 0]