COS: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 2: Line 2:


{{Command|syntax=[[Image:cos.png|right|COS]]COS <n>
{{Command|syntax=[[Image:cos.png|right|COS]]COS <n>
|description=:Returns the cosine value of the input.
|description=:Returns the cosine value of the input. The commands [[DEGREES]] and [[RADIANS]] are used to say whether angles are specified in degrees or radians.


|param1=<n>|param1_desc={{n}}
|param1=<n>|param1_desc={{n}}

Revision as of 00:23, 4 January 2011

Up

Command

COS
COS
COS <n>


Returns the cosine value of the input. The commands DEGREES and RADIANS are used to say whether angles are specified in degrees or radians.

Parameters

<n>
Anything that evaluates to a number. This can be a variable, a number, another function, or an expression which includes numbers, variables and/or functions.
For example:
123
r1
r2 + r3
(r1 + (abs(a1 * a2) / (b3 * 62)))

Example

a1 = COS(14)
a1 = COS(12/2)
a1 = COS(14/tan(12))