Difference between revisions of "MC-Basic:ATN"

From SoftMC-Wiki
Jump to: navigation, search
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:ATN}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 4: Line 5:
  
 
|SYNTAX=
 
|SYNTAX=
Atn(''<expression>'')
+
Atn(<''expression''>)
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 10: Line 11:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
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 +/- p/2 radians.
+
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.
  
 
|TYPE=
 
|TYPE=
Line 16: Line 17:
  
 
|RANGE=
 
|RANGE=
+/- MaxDouble
+
±MaxDouble
  
 
|UNITS=
 
|UNITS=
Line 28: Line 29:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Read-Only
+
Read only
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 42: Line 43:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems: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:MC-Basic:Arithmetic Functions|ATN]]
  
 
}}
 
}}

Latest revision as of 05:39, 17 April 2017

Language: English  • 中文(简体)‎

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