$ArcCos: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with " <span class="pageSubtitle">Inverse cosine</span> <p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is currently no direct...")
 
(Automatically generated page update)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<span class="pageSubtitle">Inverse cosine</span>
<span class="pageSubtitle">Inverse cosine</span>
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented
<p class="warn"><b>Note: </b>Many $functions have been deprecated in favor of Object Oriented
methods. There is currently no direct OO equivalent for the <var>$ArcCos</var> function.</p>
methods. There is currently no direct OO equivalent for the $ArcCos function.</p>
[[Category: Mathematical $functions]]
<p>
</p>


The <var>$ArcCos</var> function returns
The <var>$ArcCos</var> function returns
Line 15: Line 11:
<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]]

Latest revision as of 00:03, 21 September 2018

Inverse cosine

Note: Many $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)