Tan function
Summary
Tangent (radians).
Syntax
Returns a Double specifying the tangent of an angle.
Example
Example
This example uses the Tan function to return the tangent of an angle.
Dim MyAngle, MyCotangent
MyAngle = 1.3 ' Define angle in radians.
MyCotangent = 1 / Tan(MyAngle) ' Calculate cotangent.
This example uses the Tan function to return the tangent of an angle.
Dim MyAngle, MyCotangent
MyAngle = 1.3 ' Define angle in radians.
MyCotangent = 1 / Tan(MyAngle) ' Calculate cotangent.