| Index

| Reference for Wiring 1.0 (ALPHA) 0022+. 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 |  | ### tan()
Examples |  |
Description |  | Calculates the tangent of an angle. The tan() function expects the values of the angle parameter in radians. The tangent of an angle is the ratio of the sine and cosine. Values are returned in the range infinity to -infinity.
Syntax |  |
    tan(angle)
Parameters |  |
angle |  | float: an angle measured in radians
Returns |  | float
Usage |  | Web & Application
Related |  | atan2() cos() sin() radians()