Previous Up Next

5.33.1 Roots and poles of a rational function: froot

The froot command finds roots and poles of a rational function.

Examples


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 ‍2.5.5).

Example

Input (in complex mode):

froot((x^2+1)/(x-2))

Output:


i,1,i,1,2,−1

Previous Up Next