Difference between revisions of "ATan"

521 bytes added ,  22:16, 2 June 2008
m
Atan moved to ATan: Follow OBSE docs capitialization.
imported>DragoonWraith
imported>Wrye
m (Atan moved to ATan: Follow OBSE docs capitialization.)
 
(10 intermediate revisions by 5 users not shown)
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  asin [float]
  atan [float]
or
datan [float]


Returns the arctangent of a number (i.e. the angle whose tangent this is)
Returns the arctangent of a number (i.e. the angle whose tangent this is)
Line 8: Line 10:
==Example==
==Example==


  set theta to asin ( r / z )
  set theta to atan n


(unlike [[asin]] and [[acos]], where the example provided was meaningful, this example is simply an example)
(unlike [[asin]] and [[acos]], where the example provided was meaningful, this example is simply an example)
==Notes==
*From v0005, all OBSE trigonometric functions take and return degrees. Versions of the functions which accept radians are still available by prefixing the function name with an r. (i.e. ratan)
*This function can be used in a mathematical formula (a + atan b), but a mathematical formula will not compile as the arguement for this function (atan (a + b) doesn't work).
*atan a + b = ( atan a ) + b


==See Also==
==See Also==
Line 19: Line 27:
*[[asin]]
*[[asin]]
*[[acos]]
*[[acos]]
*[[atan2]]


[[Category: OBSE Functions]]
[[Category: Functions]]
[[Category: Functions (OBSE)]]
[[Category: Math Functions]]
[[Category: Math Functions (OBSE)]]
Anonymous user