Difference between revisions of "MC-Basic:ATN"

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:ATN to MC-Basic:ATN: Global renaming of Axystems: namespace into (Main):)
Line 43: Line 43:
 
|SEE ALSO=
 
|SEE ALSO=
 
* [[MC-Basic:ATAN2|ATAN2]]
 
* [[MC-Basic:ATAN2|ATAN2]]
* [[Axystems:MC-Basic:TAN|TAN]]
+
* [[MC-Basic:TAN|TAN]]
  
 
[[Category:Axystems:MC-Basic:Arithmetic Functions|ATN]]
 
[[Category:Axystems:MC-Basic:Arithmetic Functions|ATN]]
  
 
}}
 
}}

Revision as of 08:42, 22 May 2014

ATN returns the inverse tangent of the expression in radians. The expression is the ratio of the length on the y-axis to the length on the x-axis, and the result is in the range ±π/2 radians.

Syntax

Atn(<expression>)

Availability

All versions

Type

Double

Range

±MaxDouble

Scope

Configuration, Task or Terminal

Limitations

Read only

Examples

Program
       Dim x as double
       Dim y as double
       Dim Theta as double
       x=1
       y=2
       Theta=ATN(y/x)

End Program

See Also