This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/7716/. Also, please do not modify any references to the original work (if any) contained in this content.
A polynomial is defined by the coefficients array, which can be real or complex numbers. The first coefficient belongs to the highest degree term; the last one is the constant term. The number of coefficients automatically defines the polynomial degree. If your polynomial misses a term, just set zero as its coefficient. Both polynomial coefficient and sample variable value can be either real or complex. (For real number, enter zero in the imaginary part.)