Difference between revisions of "Degree Command"
From GeoGebra Manual
Line 2: | Line 2: | ||
{{command|function}} | {{command|function}} | ||
;Degree[ <Polynomial> ] | ;Degree[ <Polynomial> ] | ||
− | :Gives the degree of a polynomial. | + | :Gives the [[w:en:degree of a polynomial|degree of a polynomial]]. |
:{{example|1= <div><code><nowiki>Degree[x^4 + 2 x^2]</nowiki></code> yields ''4''.</div>}} | :{{example|1= <div><code><nowiki>Degree[x^4 + 2 x^2]</nowiki></code> yields ''4''.</div>}} | ||
==CAS Syntax== | ==CAS Syntax== |
Revision as of 12:29, 8 September 2011
- Degree[ <Polynomial> ]
- Gives the degree of a polynomial.
- Example:
Degree[x^4 + 2 x^2]
yields 4.
CAS Syntax
- Degree[ <Polynomial> ]
- Gives the degree of a polynomial.
- Example:
Degree[x^4 + 2 x^2]
yields 4.
- Degree[ <Polynomial>, <Variable> ]
- Gives the degree of a polynomial in the given variable.
- Example:
Degree[a x^4 + 2 x^2, x]
yields 4,Degree[a x^4 + 2 x^2, a]
yields 1.