The froot command finds roots and poles of a rational function.
Examples.
⎡ ⎣ | 1,2,0,3,2,−1 | ⎤ ⎦ |
⎡ ⎢ ⎢ ⎣ | 1,1, |
| ,1, |
| ,1,2,−1 | ⎤ ⎥ ⎥ ⎦ |
Remark.
To find the complex roots and poles, put Xcas in complex mode
(check Complex in the cas configuration, red button
giving the state line; see Section 3.5.5).
Example.
Input (in complex mode):
Output:
⎡ ⎣ | −i,1,i,1,2,−1 | ⎤ ⎦ |