/
cos

cos



Function: cos()

Return the (trigonometric) cosine function of an angle.

Syntax

cos(angle)

ArgumentTypeDescription
angleNumberThe angle in radians.

Examples

cos($degrees*pi/180)

Converts an angle in degrees to an angle in radians and returns the trigonometric cosine function of the result.

See Also

Related content

cos
More like this
cos
More like this
sin
More like this
tan
More like this
tan
More like this