Difference between revisions of "ATan"

100 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.)
 
(7 intermediate revisions by 4 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 14: Line 16:
==Notes==
==Notes==


*At present, all OBSE trigonometric functions take radians, not degrees. To convert an angle in degrees to radians, use this:<pre>set radians to ( 3.14 * ( degrees / 180 ) )</pre>
*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).
*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
*atan a + b = ( atan a ) + b
Line 25: Line 27:
*[[asin]]
*[[asin]]
*[[acos]]
*[[acos]]
*[[atan2]]


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