Polynomial (POLY)

Evaluates a standard polynomial at a user-specified value x.

Format

POLY (x, Shift, Coefficients)

Arguments

 
x
Real variable that specifies the independent variable.
Shift
Real variable that specifies a shift in the polynomial.
Coefficients
Real variables that define as many as thirty-one coefficients for the polynomial series.

Examples

The following function defines a quadratic polynomial function with respect to the system variable TIME:
 
Function
POLY(TIME, 0, 0, 0, 1)
Expanded function
POLY = TIME2
The following function defines a linear function with respect to the system variable TIME:
 
Function
POLY(TIME, 5, 0, 10)
Expanded function
POLY=10*(TIME-5)
The following function defines a cubic polynomial function with respect to the system variable TIME:
 
Function
POLY(TIME, 10, 0, 25, 0, 0.75)
Expanded function
POLY=-25*[TIME-10]+ 0.75*[TIME-10]3