Gapplet
Given a polynomial
f
Q
[
X
], return its degree or its leading coefficient.
Input
f
, e.g., 2*X^5-2/3*X-1/3
Degree
Leading coefficient