The following Math functions are available with the Class5 Smartmotor.

FSQRT(x) Floating Point Square Root(x=float where x >= 0)

FABS(x) Floating Point Absolute Value (x = float)

SIN(x) Floating Point Sine (x = float in degrees)

COS(x) Floating Point Cosine (x = float in degrees)

TAN(x) Floating Point Tangent (x = float in degrees)

ASIN(x) Floating Point Arc Sine in degrees on [-90,90],(x = float on the interval [-1,1])

ACOS(x) Floating Point Arc Cosine in degrees on [0,180],(x = float on the interval [-1,1])

ATAN(x) Floating Point Arc Tangent in degrees on [-90,90] ,(x = float)

PI Floating Point representation of PI = 3.14159265359…