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 it’s 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.
Input :
^
5-2*x^
4+x^
3)/(x-2)) Output :
Hence, for F(x)=x^{5}−2.x^{4}+x^{3}/x−2 :
Input :
^
3-2*x^
2+1)/(x-2)) Output :
Remark : to have the complex roots and the poles, check Complex in
the cas configuration (red button giving the state line).
Input :
^
2+1)/(x-2)) Output :