### Sin (number)

Basic and Crystal syntax.

##### Argument

Number value that represents an angle in radians

##### Returns

Number value between -1 and 1

##### Action

Sin returns a number specifying the sine of an angle given in radians. It takes a right-angle triangle, and returns the length of the side opposite to the specified angle divided by the length of the hypotenuse.

##### Examples

The following examples are applicable to both Basic and Crystal syntax:

`Sin (1)`

Returns 0.8415 (rounded to 4 decimals). This is the sine of 1 radian.

`Sin (30 * crPi / 180)`

Returns 0.5. This is the sine of 30 degrees. Before taking the sine, the angle is converted to radians by multiplying by crPi / 180.

##### Comments

- This function is designed to work like the Visual Basic function of the same name.
- The range of values returned by Sin is between -1 and 1.

Seagate Software, Inc. http://www.seagatesoftware.com Please send comments to: techpubs@seagatesoftware.com