Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Excerpt
hiddentrue

cos(angle) Return the (trigonometric) cosine function of an angle.


Function: cos()

Return the (trigonometric) cosine function of an 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.

...