Difference between revisions of "Exp"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function Exp(Number: Extended): Extended; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the resu...")
(No difference)

Revision as of 23:03, 2 July 2011

Definition

function Exp(Number: Extended): Extended;

Availability

SCAR Divi 3.00 > Current

Description

Returns the result of the exponential function "f(x) = e^x" with x is the given value of Number.

Example

begin
  WriteLn(Exp(1));
  WriteLn(Exp(2));
  WriteLn(Exp(3));
end.

Output:

2,71828182845905
7,38905609893065
20,0855369231877

See Also