Policies & Guidelines

COS

Calculate cosine

Description

Given an angle in radians, calculates its cosine.

Function signature

COS(number: Number) => Number

Parameter

Description

Number

Angle in radians to calculate cosine for

Examples

Formula

Return value

COS(PI() / 3)

0.5

COS(PI() / 2)

0

COS(PI())

-1