EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.Cot Method (Int32)

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

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

Parameters

angleInRadians
Angle in Radians

Return Value

Cotangent of the Angle

Exceptions

Exception TypeCondition
DivideByZeroException Thrown when the angle falls on the 0 or PI Axes.

See Also

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