Previous Up Next

11.1.10  Leading coefficient of a polynomial

The lcoeff command finds the leading coefficient of a polynomial; that is, the coefficient of the monomial of highest degree.

Examples

lcoeff([2,1,-1,0])
     
2           
lcoeff(3*x^2+5*x,x)
     
3           
lcoeff(3*x^2+5*x*y^2,y)
     
x           

Previous Up Next