Processing math: 100%

POLY

The POLY function evaluates a standard polynomial at a specific value x .

Format

Poly(x,x0,c0,c1,,c30)

Example

<Motion_Joint
     id                  = "301001"
     type                = "EXPRESSION"
     val_type            = "D"
     expr                = "POLY(TIME,0,1,2,3)"
     joint_id            = "10003"
     joint_type          = "R"
  />

Arguments

x
The independent variable. For example, to specify time as the independent variable, specify x as TIME.
x0
The shift in the polynomial.
c0,c1,,c30
The coefficients in the polynomial. Specify only as many coefficients as needed with a maximum of 31 coefficients.

Definition

(1)
Poly =Ni=0ci(xx0)i          =c0+c1(xx0)+c2(xx0)2++cN(xx0)Nwhere,     N  =  Number of terms in the series (N30)