coeff(p, x^n) is equivalent to coeff(p, x, n) for n<>0.
To find the constant term of the equation, let the exponent of x be zero.
The command coeff works with any variable.
However, the following form is not allowed:
A more difficult example: the polynomial does not need to be expanded for coeff(p, x^n) to work.