Difference between revisions of "ATan"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>GhanBuriGhan
(Cat:OBSE math functions)
imported>DragoonWraith
Line 8: Line 8:
==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==
*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==

Revision as of 14:29, 3 August 2006

A command for Oblivion Script Extender

Syntax:

asin [float]

Returns the arctangent of a number (i.e. the angle whose tangent this is)

Example

set theta to atan n

(unlike asin and acos, where the example provided was meaningful, this example is simply an example)

Notes

  • 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