cos() Function

Function

cos( number )

Returns the cosine(s) of the specified number(s).

Parameters

Keyword Type Description

number

Decimal

An angle measure or array of angle measures in radians, the cosine(s) of which will be returned.

Returns

Decimal

Usage considerations

This function can only be used for values between 0 and 2π (~6.286).

Examples

You can experiment with this function in the test box below.

Test Input

cos(1) returns 0.5403023058681398

Open in Github Built: Fri, Nov 19, 2021 (11:59:11 AM)

On This Page

FEEDBACK