powered by
Roots of a polynomial of degree 2 as cyclotomic numbers.
quadraticRoots(a, b, c)
A list of two cyclotomic numbers, the roots of the polynomial
ax2 + bx +c.
the coefficients of the polynomial
library(cyclotomic) quadraticRoots(a = 1, b = 2, c = -1)
Run the code above in your browser using DataLab