EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.SinCos Method (Double, Decimal, Decimal)

Computes the Sine and Cosine of the given angle (in Radians) using Series Expansion.

[Visual Basic]
Overloads Public Shared Sub SinCos( _
   ByVal angleInRadians As Double, _
   ByRef sinX As Decimal, _
   ByRef cosX As Decimal _
)
[C#]
public static void SinCos(
   double angleInRadians,
   out decimal sinX,
   out decimal cosX
);

Parameters

angleInRadians
Angle in Radians
sinX
Sine of the Angle
cosX
Cosine of the Angle

See Also

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