![](/images/new-backgrounds/1260012/260012161x1.webp)
Polynomials
Polynomials are algebraic expressions consisting of one or more terms containing decreasing powers of a given variable. For example,
The HORNER function
The function HORNER („Þ, POLYNOMIAL, HORNER) produces the Horner division, or synthetic division, of a polynomial P(X) by the factor (X- a), i.e., HORNER(P(X),a) = {Q(X), a, P(a)}, where P(X) =
The variable VX
Most polynomial examples above were written using variable X. This is because a variable called VX exists in the calculator’s {HOME CASDIR} directory that takes, by default, the value of ‘X’. This is the name of the preferred independent variable for algebraic and calculus applications. Avoid using the variable VX in your programs or equations, so as to not get it confused with the CAS’ VX. For additional information on the CAS variable see Appendix C in the calculator’s user’s guide.
The PCOEF function
Given an array containing the roots of a polynomial, the function PCOEF generates an array containing the coefficients of the corresponding polynomial. The coefficients correspond to decreasing order of the independent variable. For example:
Page