RandomPolynomial Command

From GeoGebra Manual
Revision as of 12:59, 11 June 2011 by Zbynek (talk | contribs)
Jump to: navigation, search


This command works in CAS View only.

RandomPolynomial[ <Degree d> , <Minimum for Coefficients min>, <Maximum for Coefficients max> ]
Returns a randomly generated polynomial in x of degree at most d, whose (integer) coefficients are in the range from min to max, both included.
RandomPolynomial[ <Variable Var>, <Degree d> , <Minimum for Coefficients min>, <Maximum for Coefficients max> ]
Returns a randomly generated polynomial in Var of degree at most d, whose (integer) coefficients are in the range from min to max, both included.
Note: In both cases if min or max are not integers, round(min) and round(max) are used instead.
© 2024 International GeoGebra Institute