Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of "ACOS"

From Creatures Wiki
Jump to navigation Jump to search
m
m
Line 17: Line 17:
 
==References==
 
==References==
 
* [http://mathworld.wolfram.com/InverseCosine.html MathWorld page for arccosine function]
 
* [http://mathworld.wolfram.com/InverseCosine.html MathWorld page for arccosine function]
 
{{stub}}
 
  
 
[[category:C3 CAOS Commands]]
 
[[category:C3 CAOS Commands]]
 +
[[Category:CAOS:Math]]

Revision as of 13:36, 18 February 2006

ACOS is a CAOS function equivalent to the mathematical arccosine.

Usage

Syntax: ACOS c (float)

Returns, as a float in degrees, the arccosine of c, i.e. the angle whose cosine is c. It is the inverse of COS_.

Domain and range

c must be between -1 and 1. Calling ACOS with values outside this domain will return NaN, which is a special float value. ACOS returns, in contrast to the other inverse trigonometric functions, a value between 0 and 180.

Editnorn.png This article about a CAOS command or function needs further examples.

See also

  • COS_
  • ASIN and ATAN, the other inverse trigonometric functions

References