Difference between revisions of "Exp"
From SCAR Divi Manual
(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...") |
|||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | function Exp(Number: Extended): Extended; | + | function Exp(const Number: Extended): Extended; |
</source> | </source> | ||
Latest revision as of 19:55, 30 August 2011
Definition
function Exp(const 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