Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> exp exponent of e pp 140</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 EXP                            Exponent of E                         pp 140

 Syntax:  Exp (NumVar) ;

 Type:    Real

 Form:    Function

 Purpose: e (2.7182818285) raised to the NumVar power.

 Notes:   The log of NumVar is the inverse of the Exp of NumVar.
          Ln (Exp(1)) = 1
          NumVar must be a positive number.

 Details:

 Laws:    a^0        =  1
          a^x * a^y  =  a^(x+y)
          (ab)^x     =  a^x * b^x
          (a^x)^y    =  a^(xy)
          1/a^x      =  a^-x
          a^x/a^y    =  a^(x-y)


 ----------------------------------------------------------------------------


 Usage:
       VAR
          NumVar : Real               ;   { Argument to Exp function }
          Result : Real               ;   { Result of Exp function   }

       BEGIN
          NumVar := 1.0               ;   { e ^1                     }
          Result := Exp (NumVar)      ;   { 2.7182818285              }
       END.

See Also: Ln Sqr Sqrt

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson