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
Line 1: Line 1:
'''ACOS''' is a [[CAOS]] function equivalent to the mathematical arccosine.
+
'''ACOS''' is a [[CAOS]] function equivalent to the [[wikipedia:Inverse trigonometric functions|mathematical arccosine]].
  
 
==Usage==
 
==Usage==

Revision as of 23:05, 29 November 2016

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