polynomials

Functions
cubic-formula a b c d
cubic-formula-1 p q r
evaluate-polynomial coefficients number
quadratic-formula a b c
quadratic-formula-1 p q
evaluate-polynomial  coefficients number  [Function]
Evaluate a polynomial.

First argument COEFFICIENTS is a sequence whose elements are
 the coefficients of the polynomial in descending order.
Second argument NUMBER is the argument at which the polynomial
 is evaluated.
quadratic-formula-1  p q  [Function]
Calculate the roots of a monic quadratic function

     f(x) = x² + p·x + q

Arguments P and Q are the coefficients of the polynomial.

Value is a list of two numbers.
quadratic-formula  a b c  [Function]
Calculate the roots of a general quadratic function

     f(x) = a·x² + b·x + c

Arguments A, B, and C are the coefficients of the polynomial.

Value is a list of two numbers.
cubic-formula-1  p q r  [Function]
Calculate the roots of a monic cubic function

     f(x) = x³ + p·x² + q·x + r

Arguments P, Q, and R are the coefficients of the polynomial.

Value is a list of three numbers.
The first element is a real number.
cubic-formula  a b c d  [Function]
Calculate the roots of a general cubic function

     f(x) = a·x³ + b·x² + c·x + d

Arguments A, B, C, and D are the coefficients of the polynomial.

Value is a list of three numbers.