math.cos

Cosine (radians).

math.cos(x: int/float) -> float

Parameters

Example

math.cos(bar_index * math.pi / 10)