cos function

This 2019.0 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Syntax

  • float cos(float x)

Returns

The cosine of x, i.e. a value in [-1, 1].

Description

The cos function calculates the cosine of x, where x is given in degrees.

Related


In this topic