Difference between revisions of "COS"

From Macros Wiki
Jump to: navigation, search
(New page: {{Command|syntax=COS <a> |description=*DESCRPTION* |param1=<a>|param1_desc={{a}} }} ===Example=== :- COS Category:Internal_Macro_Functions)
 
Line 1: Line 1:
{{Command|syntax=COS <a>
+
{{Command|syntax=[[Image:cos.png|right|COS]]COS <n>
|description=*DESCRPTION*
+
|description=:Returns the cosine value of the input.
  
|param1=<a>|param1_desc={{a}}
+
|param1=<n>|param1_desc={{n}}
 
}}
 
}}
  
 
===Example===
 
===Example===
:- COS
+
:COS(14)
  
 
[[Category:Internal_Macro_Functions]]
 
[[Category:Internal_Macro_Functions]]

Revision as of 11:56, 22 July 2010

Command

COS
COS <n>


Returns the cosine value of the input.

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

COS(14)