Poly
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2023
- PI Server
Return the polynomial c0 + c1x + c2x2 + … +cnxn.
Syntax
Poly(x, c0 [, ... cn])
Arguments
-
x
Variable. An integer or real number
-
c0 [, ... cn]
Coefficients. There must be at least one coefficient. All must be numbers.
Returns
The value of the polynomial
Exceptions
If x or any coefficient is not an integer or real number, Poly returns an error value
Example
-
Poly(3, 4, 5)
[Returns 19]
-
Poly('att1', 2, 3)