Skip to main content

cos

Overloads

NameDescription
cos(integer arg) -> realCalculates the cosine of the given angle in radians.
cos(real arg) -> realCalculates the cosine of the given angle in radians.
cos(bool arg) -> realCalculates the cosine of the given angle in radians.
cos(complex arg) -> complexCalculates the cosine of the given angle in radians.

cos(integer arg) -> real

Calculates the cosine of the given angle in radians.

Parameters

  • arg: The angle in radians.

cos(real arg) -> real

Calculates the cosine of the given angle in radians.

Parameters

  • arg: The angle in radians.

cos(bool arg) -> real

Calculates the cosine of the given angle in radians.

Parameters

  • arg: The angle in radians.

cos(complex arg) -> complex

Calculates the cosine of the given angle in radians.

Parameters

  • arg: The angle in radians.