First time here? Check out the FAQ!
answered 2014-08-31 07:56:47 +0100
Use polynomials over the complex ring CC:
sage: R.<x> = CC[] sage: p=x^2+2 sage: p.factor() (x - 1.41421356237310*I) * (x + 1.41421356237310*I)