The polynomial command creates a polynomial from a vector A and variable X. The coefficients in A should be given in ascending order.