EasyManua.ls Logo

Trio Motion Coordinator MC216 - Page 338

Trio Motion Coordinator MC216
566 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8-148Trio BASIC Commands
Mathematical Operations and Commands
Trio Motion Technology
Description:
The
SGN
function returns the SIGN of a number.
Parameters:
Example:
>>PRINT SGN(-1.2)
-1.0000
>>
SIN
Type:
Mathematical Function
Syntax:
SIN(expression)
Description:
Returns the SINE of an expression. This is valid for any value in expressed in radians.
Parameters:
Example:
>>PRINT SIN(0)
0.0000
SQR
Type:
Mathematical Function
Syntax:
SQR(number)
Description:
Returns the square root of a number.
Parameters:
Example:
>>PRINT SQR(4)
2.0000
1
Positive non-zero
0
Zero
-1
Negative
expression:
Any valid Trio BASIC expression.
expression:
Any valid Trio BASIC expression.
number:
Any valid Trio BASIC number or variable.

Table of Contents

Related product manuals