User Tools

Site Tools


syntax:functions:cos

Cos(angle)

Category: Number function


Description

This function returns the cosine of the angle angle specified in radians.


Arguments

ArgumentTypeDescription
angleNumberThe measurement of an angle, in radians1).


Return value type: Number


Examples

cos(0.524) //Returns 0.8658...
cos(0.785) //Returns 0.707...


See also

1)
Conversion: radians = degrees * (Pi() / 180)
syntax/functions/cos.txt · Last modified: 2021/08/14 17:59 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki