$ArcCos: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
(Automatically generated page update)
 
(2 intermediate revisions by 2 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 $ArcCos function.</p>
methods. There is currently no direct OO equivalent for the $ArcCos function.</p>


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]]

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)