| Index

| Reference for Wiring 1.0 (ALPHA) 0019+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name |  | ### sin()
Examples |  |
Description |  | Calculates the sine of an angle. The sin() function expects the values of the angle parameter in radians (values between 0 and 6.28). Values are returned in the range -1 to 1.
Syntax |  |
    sin(rad)
Parameters |  |
rad |  | float: an angle measured in radians (PI to -PI)
Returns |  | float
Usage |  | Web & Application
Related |  | cos() tan() atan2() radians()