<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>ACOS</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="Description">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">ACOS</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Description</span>
<p>
Arccosine function. The arccosine is the angle whose cosine is number.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Returns</span>
<p>
The arccosine, in radians, of a number. 
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Category</span>
<p>
Mathematical functions
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Function syntax</span><pre>ACos(number)
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">See also</span>
<p>
Cos, Sin, ASin, Tan, Atn, Pi
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Parameters</span>
<p>

</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Usage</span>
<p>
The range of the result is 0 to <font face="Symbol">p</font>.
</p>

<p>
To convert degrees to radians, multiply degrees by <font face="Symbol">p</font>/180. To convert radians to degrees, multiply radians by 180/<font face="Symbol">p</font>.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Example</span><pre>&lt;h3&gt;ACos Example&lt;/h3&gt;
&lt;!--- output its arccosine value ---&gt;
&lt;cfif IsDefined(&quot;FORM.CosNum&quot;)&gt;
   &lt;cfif IsNumeric(FORM.CosNum)&gt;
      &lt;cfif Abs(FORM.CosNum) LESS THAN OR EQUAL TO 1&gt;
         &lt;cfoutput&gt;ACos(#FORM.CosNum#) = #ACos(FORM.cosNum)# Radians   &lt;/cfoutput&gt;
         &lt;br&gt;or&lt;br&gt;
         &lt;cfoutput&gt;ACos(#FORM.CosNum#) = #ACos(FORM.cosNum) * 180/PI()#&lt;/
cfoutput&gt;
      &lt;cfelse&gt;
         &lt;!--- if it is empty, output an error message ---&gt;
         &lt;h4&gt;Enter a number between -1 and 1&lt;/h4&gt;
      &lt;/cfif&gt;
   &lt;/cfif&gt;      
&lt;/cfif&gt;

&lt;form method=&quot;post&quot; action = &quot;acos.cfm&quot;&gt;
&lt;p&gt;Enter a number to get its arccosine in Radians and Degrees.
&lt;br&gt;&lt;input type = &quot;Text&quot; name = &quot;cosNum&quot; size = &quot;25&quot;&gt;
&lt;p&gt;&lt;input type = &quot;Submit&quot; name = &quot;&quot;&gt; &lt;input type = &quot;RESET&quot;&gt;
&lt;/form&gt;
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="NUMBER">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">NUMBER</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>


<p>Cosine of an angle. The value must be between -1.0 and 1.0, inclusive.</p>

  </td>
  </tr>
  </table>
</div>

  </body>
</html>
