Difference between revisions of "MC-Basic:COS"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "+/- " to "± ")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:COS}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
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 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:Axystems:MC-Basic:Arithmetic Functions|COS]]
+
[[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