Reference for Wiring version 0023+. 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() |
||
|---|---|---|---|
| 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 |
|
||
| Returns | float | ||
| Usage | Application | ||
| Related | cos() tan() atan2() radians() |

