EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.Tan Method (Int32)

Computes the Tangent of the given angle (in Radians) using SinCos.

[Visual Basic]
Overloads Public Shared Function Tan( _
   ByVal angleInRadians As Integer _
) As Decimal
[C#]
public static decimal Tan(
   int angleInRadians
);

Parameters

angleInRadians
Angle in Radians

Return Value

Tangent of the Angle

Exceptions

Exception TypeCondition
DivideByZeroException Thrown when the angle falls on the PI/2 or 3*PI/2 Axes.

See Also

DecimalOps Class | Esb.Math Namespace | DecimalOps.Tan Overload List