Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

x
Type: SystemDouble
An angle, measured in radians.
nTerms
Type: SystemInt32
The number of terms to be evaluated.

Return Value

Type: Double
The sine of the angle x.
See Also