DEG _ _ _ _ _ _ _ _ _ _ _ _ operator
The operator deg returns the highest degree of its variable argument found in its expression argument.
<expression> is expected to be a polynomial expression, not a rational expression. Rational expressions are accepted when the switch ratarg is on. <variable> must be a kernel. The results are returned in a list.
deg((x+y)**5,x); 5 deg((a+b)*(c+2*d)**2,d); 2 deg(x**2 + cos(y),sin(x)); deg((x**2 + sin(x))**5,sin(x)); 5