랜덤다항식 명령

GeoGebra Manual
이동: 둘러보기, 검색
Accessories dictionary.png
이 페이지는 공식 매뉴얼에서 출력과 pdf를 위한 부분입니다. 일반 사용자들은 이 페이지를 편집할 수 없습니다. 만일 이 페이지에서 오류를 발견하였으면, 연락하여 주시기 바랍니다.사용자에 의해 편집 가능한 버전으로 이동
RandomPolynomial( <Degree> , <Minimum for Coefficients>, <Maximum for Coefficients> )
Returns a randomly generated polynomial in x of degree d, whose (integer) coefficients are in the range from minimum to maximum, both included.
예:
  • RandomPolynomial(0, 1, 2) yields either 1 or 2.
  • RandomPolynomial(2, 1, 2) yields a random polynomial with a degree of two and only 1 and 2 as coefficients, for example 2x2 + x + 1.

CAS Syntax

The following command is only available in the Menu view cas.svg CAS View.

RandomPolynomial( <Variable>, <Degree> , <Minimum for Coefficients>, <Maximum for Coefficients> )
Returns a randomly generated polynomial in Variable of degree d, whose (integer) coefficients are in the range from minimum to maximum, both included.
예:
  • RandomPolynomial(a, 0, 1, 2) yields either 1 or 2.
  • RandomPolynomial(a, 2, 1, 2) yields a random polynomial with a degree of two and only 1 and 2 as coefficients, for example 2a2 + a + 1.
노트: In both cases if minimum or maximum are not integers, round(minimum) and round(maximum) are used instead.
© 2021 International GeoGebra Institute