sin()
Description
Calculates the sine of an angle (in radians). The result will be between -1 and 1.
Syntax
sin(rad)
Parameter Values
- rad: The angle in radians. Allowed data types: float.
Return Values
- The sine of the angle. Data type: double.
※ ARDUINO BUY RECOMMENDATION
Arduino UNO R3 | |
Arduino Starter Kit |
Please note: These are affiliate links. If you buy the components through these links, We may get a commission at no extra cost to you. We appreciate it.
Follow Us