EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.Sec Method (Double)

Computes the Secant of the given angle (in Radians) using .

[Visual Basic]
Overloads Public Shared Function Sec( _
   ByVal angleInRadians As Double _
) As Decimal
[C#]
public static decimal Sec(
   double angleInRadians
);

Parameters

angleInRadians
Angle in Radians

Return Value

Secant 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.Sec Overload List | Cos