Method Cos
Cos(Double)
Returns the trigonometric cosine of an angle.
Error is around 1E-15.
Special cases:
- If the argument is
or an infinity, then the result is .
Declaration
public static double Cos(double a)
Parameters
Type | Name | Description |
---|---|---|
System.Double | a | An angle, in radians. |
Returns
Type | Description |
---|---|
System.Double | The cosine of the argument. |