EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.Cot Method (Decimal)

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

[Visual Basic]
Overloads Public Shared Function Cot( _
   ByVal angleInRadians As Decimal _
) As Decimal
[C#]
public static decimal Cot(
   decimal 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