Difference between revisions of "Degree Command"

From GeoGebra Manual
Jump to: navigation, search
Line 9: Line 9:
 
:{{example|1= <div>
 
:{{example|1= <div>
 
:* <code><nowiki>Degree[x^4 + 2 x^2]</nowiki></code> yields ''4'',
 
:* <code><nowiki>Degree[x^4 + 2 x^2]</nowiki></code> yields ''4'',
:* <code><nowiki>Degree[x^6 y^3 + 2 x^2 y^3]</nowiki></code> yields ''6''.</div>}}
+
:* <code><nowiki>Degree[x^6 + x y^3 + 2 x^2 - y^3]</nowiki></code> yields ''6''.
 +
:* <code><nowiki>Degree[x^6 y^3 + 2 x^2 y^3]</nowiki></code> yields ''9''.</div>}}
 
;Degree[ <Polynomial>, <Variable> ]
 
;Degree[ <Polynomial>, <Variable> ]
 
:Gives the degree of a polynomial in the given variable.
 
:Gives the degree of a polynomial in the given variable.

Revision as of 00:43, 29 September 2012



Degree[ <Polynomial> ]
Gives the degree of a polynomial (in the main variable).
Example:
Degree[x^4 + 2 x^2] yields 4.

CAS Syntax

Degree[ <Polynomial> ]
Gives the degree of a polynomial (in the main variable).
Example:
  • Degree[x^4 + 2 x^2] yields 4,
  • Degree[x^6 + x y^3 + 2 x^2 - y^3] yields 6.
  • Degree[x^6 y^3 + 2 x^2 y^3] yields 9.
Degree[ <Polynomial>, <Variable> ]
Gives the degree of a polynomial in the given variable.
Example:
  • Degree[x^4 y^3 + 2 x^2 y^3, x] yields 4,
  • Degree[x^4 y^3 + 2 x^2 y^3, y] yields 3.
© 2024 International GeoGebra Institute