Wilang Documentation1.0.0+4

degree#

Find the degree of a polynomial.

Available in: math cells, REPL.

Syntax#

degree(expression, variable)

Arguments and behavior#

The degree is the highest power of the variable that appears. The example returns scalar (number).

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
degree("x^3+1", "x")

Expected result: 3.

See also#

coeffs · roots

All functions · Math guides