Difference between revisions of "RandomPolynomial Command"
From GeoGebra Manual
m (1 revision: new commands) |
|||
Line 1: | Line 1: | ||
− | |||
<noinclude>{{Manual Page|version=4.0}}</noinclude> | <noinclude>{{Manual Page|version=4.0}}</noinclude> | ||
{{command|CAS}} | {{command|CAS}} | ||
− | ;RandomPolynomial[ <Degree> , <Minimum for Coefficients>, <Maximum for Coefficients> ] | + | ;RandomPolynomial[ <Degree> , <Minimum for Coefficients min>, <Maximum for Coefficients max> ] |
− | : | + | :Returns a randomly generated polynomial in ''x'', whose (integer) coefficients are in the range from ''min'' to ''max'', both included. |
− | ;RandomPolynomial[ <Variable>, <Degree> , <Minimum for Coefficients>, <Maximum for Coefficients> ] | + | ;RandomPolynomial[ <Variable Var>, <Degree> , <Minimum for Coefficients min>, <Maximum for Coefficients max> ] |
− | : | + | :Returns a randomly generated polynomial in ''Var'', whose (integer) coefficients are in the range from ''min'' to ''max'', both included. |
Revision as of 11:44, 10 June 2011
This command works in CAS View only.
- RandomPolynomial[ <Degree> , <Minimum for Coefficients min>, <Maximum for Coefficients max> ]
- Returns a randomly generated polynomial in x, whose (integer) coefficients are in the range from min to max, both included.
- RandomPolynomial[ <Variable Var>, <Degree> , <Minimum for Coefficients min>, <Maximum for Coefficients max> ]
- Returns a randomly generated polynomial in Var, whose (integer) coefficients are in the range from min to max, both included.