File: atan2.htm

package info (click to toggle)
extrema 4.3.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,212 kB
  • ctags: 6,452
  • sloc: cpp: 86,428; sh: 8,229; makefile: 814
file content (39 lines) | stat: -rw-r--r-- 1,241 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<HTML>
<HEAD>
<TITLE>ATAN2</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF" fgcolor="#000000">

<P><A NAME="atan2"></A>
<font size="+3" color="green"><B>ATAN2</B></font></P>
<P>
<TABLE border="1" cols="2" frame="box" rules="all" width="572">
<TR>
<TD width="15%" valign="top"><B>Syntax</B>:</TD>
<TD width="85%"><CODE>
vout = ATAN2( v1, v2 )</CODE>
</TD></TR>
</table></p>
<p>
 The <CODE>ATAN2(v1,v2)</CODE> function returns the
 Arc Tangent of <CODE>v1/v2</CODE>, with
 -&pi; <CODE>&lt; ATAN2(v1,v2) &le;</CODE> &pi;.</p>
<p>
<ul>
<li>If <CODE>v1 &gt; 0</CODE>, the result is positive.</li>
<li>If <CODE>v1 = 0</CODE>, the result is zero if
 <CODE>v2 &gt; 0</CODE> and &pi; if
 <CODE>v2 &lt; 0</CODE>.</li>
<li>If <CODE>v1 &lt; 0</CODE>, the result is negative. If the value of
 the second argument is zero, the absolute value of the result is &pi;<CODE>/2</CODE>.</li>
</ul></p>
<p>
 Both arguments must not have the value zero.</p>
<p>
 <a href="trigandother.htm"><img border="0" src="../../shadow_left.gif">&nbsp;
 <font size="+1" color="olive">Trigonometric and other basic functions</font></a><br />
 <a href="atan2d.htm"><img border="0" src="../../shadow_right.gif">&nbsp;
 <font size="+1" color="olive">ATAN2D</font></a>
</P>
</BODY>
</HTML>