11.1.27 Random polynomials
The randpoly or
randPoly command
generates random polynomials.
-
randpoly takes two optional
arguments:
-
Optionally x, the name of a variable (by default x).
- Optionally n, an integer (by default 10).
The order of the arguments is not important.
- randpoly(⟨ x,n ⟩)
returns a monic polynomial in the variable x of degree n,
having as coefficients random integers evenly
distributed on −99,…,+99.
Examples