Back to functions

roots


polynomial roots

Finds the roots of a univariate polynomial.


Usage: nerdamer("roots(x)")


Parameters

expression x The expression for which the roots are to be found.

EXAMPLES:
var x = nerdamer('roots(x^2-3*x-10)');
console.log(x.toString())
var y = nerdamer('roots(x^2+1)');
console.log(y.toString());
OUTPUT:
Back to functions