Skip to main content

Roots

Note

Working with polynomials? See Roots (Polynomials).

Returns all the roots of a given number.

Syntax

roots(Real, Natural)
roots(Element, Natural, Ring)

Description

Given a positive real number x and a natural n, returns a list with all the nn-th roots of xx.

symbols.roots1.calc.png

Given an element xx, a natural nn and a ring R, returns a list with all the nn-th roots of xx over RR.

symbols.roots2.calc.png