$ArcCos: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
No edit summary
Line 10: Line 10:
==Syntax==
==Syntax==
<p class="syntax"><span class="term">%num</span><span class="literal"> = $ArcCos(</span><span class="term">x</span><span class="literal">)</span>  </p>
<p class="syntax"><span class="term">%num</span><span class="literal"> = $ArcCos(</span><span class="term">x</span><span class="literal">)</span>  </p>
{{Template:Math $functions note}}


[[Category: Mathematical $functions]]
[[Category: Mathematical $functions]]

Revision as of 20:57, 28 October 2014

Inverse cosine

Note: Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is currently no direct OO equivalent for the $ArcCos function.

The $ArcCos function returns the arccosine (in radians) of a given argument. If the magnitude of the argument exceeds 1, an error message is printed and a 0 is returned.

Syntax

%num = $ArcCos(x)