Difference between revisions of "Exp"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
 
imported>DragoonWraith
 
(2 intermediate revisions by 2 users not shown)
Line 9: Line 9:


  set n to exp n
  set n to exp n
==Nth Root==
OBSE does not provide an Nth Root function, however, the following code can get the Nth Root, using Exp and [[Log]].
set NthRootOfX to ( log x )/N
set NthRootOfX to ( exp NthRootOfX )


==See Also==
==See Also==
* [[pow]]
* [[log]]


*[[log]]
[[Category: Functions]]
 
[[Category: Functions (OBSE)]]
[[Category: OBSE Functions]]
[[Category:Math_Functions]]
[[Category:OBSE_Math_Functions]]
[[Category:Math_Functions (OBSE)]]

Latest revision as of 18:17, 15 June 2008

A command for Oblivion Script Extender

Syntax:

exp [float]

Returns e to the power of the specified number. Is the inverse function to log.

Example[edit | edit source]

set n to exp n

Nth Root[edit | edit source]

OBSE does not provide an Nth Root function, however, the following code can get the Nth Root, using Exp and Log.

set NthRootOfX to ( log x )/N
set NthRootOfX to ( exp NthRootOfX )

See Also[edit | edit source]