Sin Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the sine of the specified angle.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static double Sin(
	double a
)

Parameters

a
Type: System..::..Double
An angle, measured in radians.

Return Value

Type: System..::..Double
The sine of a. If a is equal to NaN, NegativeInfinity, or PositiveInfinity, this method returns NaN.

The angle, a, must be in radians. Multiply by Math..::..PI/180 to convert degrees to radians.

Acceptable values of a range from approximately -9223372036854775295 to approximately 9223372036854775295. For values outside of this range, the Sin method returns a unchanged rather than throwing an exception.

Show: