froot takes a rational function F(x) as argument.
froot returns a vector whose components are the roots and the poles of F[x], each one followed by its multiplicity.
If Xcas can not find the exact values of the roots or poles, it tries to find approximate values if F(x) has numeric coefficients.
Hence, for F(x)=x5−2.x4+x3/x−2 :
Remark : to have the complex roots and poles, check Complex in
the cas configuration (red button giving the state line).