Difference between revisions of "MC-Basic:COS"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= Cos(''<expression>'') |AVAILABILITY= All versions |DESCRIPTION= This function returns the Cosine of the expression in radians. |TYPE= Double…')
 
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:COS}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 4: Line 5:
  
 
|SYNTAX=
 
|SYNTAX=
Cos(''<expression>'')
+
Cos(<''expression''>)
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 10: Line 11:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
This function returns the Cosine of the expression in radians.
+
This function returns the cosine of the expression in radians.
  
 
|TYPE=
 
|TYPE=
Line 16: Line 17:
  
 
|RANGE=
 
|RANGE=
+/- 9.223372036853900e+18
+
± 9.223372036853900e+18
  
 
|UNITS=
 
|UNITS=
Line 28: Line 29:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Write-Only
+
Write only
  
 
|EXAMPLE=
 
|EXAMPLE=
?Cos(3.14159/2)<br>
+
<pre>?Cos(3.14159/2)
 
+
Var1 = Cos(3.14159)</pre>
Var1 = Cos(3.14159)
 
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:ACOS|ACOS]]
+
* [[MC-Basic:ACOS|ACOS]]
  
 +
[[Category:MC-Basic:Arithmetic Functions|COS]]
  
 
}}
 
}}

Latest revision as of 08:16, 3 May 2017

Language: English  • 中文(简体)‎

This function returns the cosine of the expression in radians.

Syntax

Cos(<expression>)

Availability

All versions

Type

Double

Range

± 9.223372036853900e+18

Scope

Configuration, Task or Terminal

Limitations

Write only

Examples

?Cos(3.14159/2)
Var1 = Cos(3.14159)

See Also