Learn R Programming

cyclotomic (version 1.3.0)

quadraticRoots: Roots of quadratic polynomial

Description

Roots of a polynomial of degree 2 as cyclotomic numbers.

Usage

quadraticRoots(a, b, c)

Value

A list of two cyclotomic numbers, the roots of the polynomial

ax2 + bx +c.

Arguments

a, b, c

the coefficients of the polynomial

Examples

Run this code
library(cyclotomic)
quadraticRoots(a = 1, b = 2, c = -1)

Run the code above in your browser using DataLab