<A NAME=DEG>
<TITLE>DEG</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>
<B>DEG</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P>
<P>
<P>
<P>
The operator <em>deg</em> returns the highest degree of its variable argument
found in its expression argument.
<P>
<P>
<P> <H3>
syntax: </H3>
<em>deg</em>(<expression>,<kernel>)
<P>
<P>
<P>
<expression> is expected to be a polynomial expression, not a rational
expression. Rational expressions are accepted when the switch
<A HREF=r37_0322.html>ratarg</A> is on. <variable> must be a
<A HREF=r37_0002.html>kernel</A>. The
results are returned in a list.
<P>
<P>
<P> <H3>
examples: </H3>
<P><PRE><TT>
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
</TT></PRE><P>