TAN(a)
Returns the tangent of a.
Parameters
a(REAL)
The input value in radians.
Return Value
Returns a REAL.
Remarks
Notice a is in radians. To convert a value from degrees to radians, multiply the degrees value by π/180. The RMC has an M_PI constant for π.
Examples
TAN(M_PI / 4) returns 1.0
TAN(45 * M_PI / 180) returns 1.0
See Also
SIN Function | COS Function | ATAN Function | Standard Functions
Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion