|
TaylorSin Method
|
Returns the sine of a specified angle by evaluating a Taylor series.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static double Sin(
double x,
int nTerms
)
Public Shared Function Sin (
x As Double,
nTerms As Integer
) As Double
Request Example
View SourceParameters
- x
- Type: SystemDouble
An angle, measured in radians. - nTerms
- Type: SystemInt32
The number of terms to be evaluated.
Return Value
Type:
DoubleThe sine of the angle
x.
See Also