Welcome, Guest
Messages posted to this category need to be reviewed by the moderator before it gets posted.

## Put the SmartMotor to dance 8 years 8 months ago #386

 davcast OFFLINE Fresh Boarder Posts: 11 Karma: 0 Hi, do you know if there is a library with mathematics functions such as: sin(x), cos(x), tan(x), ln(x) and all that good functions. I want to program a function of velocity with sin(x). If there is no a library like the one i say, what is the way to make what i want? I'll wait for your answers. The administrator has disabled public write access.

## Re: Put the SmartMotor to dance 8 years 8 months ago #388

 csearcy OFFLINE Moderator Posts: 464 Thank you received: 80 Karma: 23 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… The administrator has disabled public write access.
Time to create page: 0.164 seconds