Tan Function | |
Calculate the tangent of a number.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax FUNCTION Tan(
nNum AS USUAL
) AS FLOAT
public static Float Tan(
Usual nNum
)
Request Example
View SourceParameters
- nNum
- Type: Usual
An angle in radians.
Return Value
Type:
Float
The tangent of the specified angle.
Remarks Examples
This example uses Tan() to calculate the tangent of 1.38 radians:
This example shows that the tangent is equal to the sine over the cosine:
See Also