Acos()

From TinyMUX
Revision as of 19:18, 25 November 2010 by Ihavenomouth (talk | contribs) (New page: Category:Functions {{Function|acos(<number>[, <units>])}} Returns the arc-cosine of <number>. The value returned will be expressed in <units>. <units> may be 'radians', 'degrees', o...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


acos(<number>[, <units>])

Returns the arc-cosine of <number>. The value returned will be expressed in <units>.

<units> may be 'radians', 'degrees', or 'gradians' or just the first letter of any of these. By default, <units> is 'radians'.

In a circle, there are 2*pi() radians, 360 degrees, and 400 gradians.

Example

> say acos(0)

You say, "1.570796"

> say acos(1)

You say, "0"

> say acos(0.707101)

You say, "0.785406"

> say acos(0.866025)

You say, "0.5236"

Related Topics

asin(), atan(), cos(), pi(), sin(), tan()