Double.Cos(Double) Method

Definition

Computes the cosine of a value.

C#
public static double Cos (double x);

Parameters

x
Double

The value, in radians, whose cosine is to be computed.

Returns

The cosine of x.

Implements

Remarks

This computes cos(x).

Applies to

Produkt Verze
.NET 7, 8, 9