<?xml version="1.0" encoding="windows-1252"?>
<node id="199" title="perlfunc:sin" created="1999-08-24 18:42:02" updated="2005-08-12 21:56:22">
<type id="119">
perlfunc</type>
<author id="114">
gods</author>
<data>
<field name="doctext">
</field>
<field name="name">

&lt;P&gt;
sin - return the sin of a number

&lt;P&gt;
&lt;HR&gt;
</field>
<field name="synopsis">

&lt;P&gt;
sin 
&lt;FONT SIZE=-1&gt;EXPR&lt;/FONT&gt;

&lt;P&gt;
sin

&lt;P&gt;
&lt;HR&gt;
</field>
<field name="description">

&lt;P&gt;
Returns the sine of 
&lt;FONT SIZE=-1&gt;EXPR&lt;/FONT&gt; (expressed in radians). If 
&lt;FONT SIZE=-1&gt;EXPR&lt;/FONT&gt; is omitted, returns sine of
 &lt;CODE&gt;$_&lt;/CODE&gt;.

&lt;P&gt;
For the inverse sine operation, you may use the &lt;CODE&gt;POSIX::asin()&lt;/CODE&gt;
function, or use this relation:

&lt;P&gt;
&lt;PRE&gt;    sub asin { atan2($_&amp;#091;0&amp;#093;, sqrt(1 - $_&amp;#091;0&amp;#093; * $_&amp;#091;0&amp;#093;)) }
&lt;/PRE&gt;
&lt;HR&gt;
</field>
</data>
</node>
