## Power functions, roots, logarithms **

Power functions, roots, logarithms.

### Logarithms

#### function Math.Ln(X: Double): Double;

Returns the natural logarithm of a real expression X.

Example as TechEditor Pascal Script (.PSC):

begin  x := Ln(1.5); // x=0.405..end;

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function Ln(X): Double;

#### function Math.LnXP1(X: Double): Double;

Returns the natural log of (X+1).

Example as TechEditor Pascal Script (.PSC):

begin  x := Math.LnXP1(2); // x=1.098..end;

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function LnXP1(X): Double;

#### function Math.Log10(X: Double): Double;

Calculates log of X base 10.

Example as TechEditor Pascal Script (.PSC):

begin  x := Math.Log10(2); // x=0.301..end;

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function Log10(X): Double;

#### function Math.Log2(X: Double): Double;

Calculates log of X base 2.

Example as TechEditor Pascal Script (.PSC):

begin  x := Math.Log2(1.5); // x=0.584..end;

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function Log2(X): Double;

#### function Math.LogN(Base, X: Double): Double;

Calculates the log of X for a specified base Base.

Example as TechEditor Pascal Script (.PSC):

begin  x := Math.LogN(2.5, 1.5); // x=0.442..end;

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function LogN(Base, X): Double;

### Exponentiation functions

#### function Math.IntPower(X: Double; Exponent: Integer): Double;

Calculates the integral power Exponent of X.

Example as TechEditor Pascal Script (.PSC):

begin  x := Math.IntPower(2.5, 3);end;

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function IntPower(X, Exponent): Double;

#### function Math.Power(X, Exponent: Double): Double;

Raises X to Exponent power.

Example as TechEditor Pascal Script (.PSC):

begin  x := Math.Power(2.5, 5.5); // x=2.5^5.5=154.408..end;

🛈 This routine has a similar routine in the Math unit (specify the Math unit in the uses list):

function Power(X, Exponent): Double;

#### function Math.Power2(X: Double): Double;

Raises X to power 2.

🛈 This routine has a similar system routine:

function Sqr(X): Double;

#### function Math.Power3(X: Double): Double;

Raises X to power 3.

#### function Math.Power4(X: Double): Double;

Raises X to power 4.

### Функции извлечения корня из числа

#### function Math.Root2(X: Double): Double;

Extracts the square root of X.

🛈 This routine has a similar system routine:

function Sqrt(X): Double;

function Math.Sqrt(X: Double): Double;

#### function Math.Root3(X: Double): Double;

Extracts the 3-rd root of X.

#### function Math.Root4(X: Double): Double;

Extracts the 4-rd root of X.

### Другие функции

#### function Math.Exp(X: Double): Double;

Returns the exponential of X.

Example as TechEditor Pascal Script (.PSC):

begin  x := Math.Exp(1); // x=2.718..end;

🛈 This routine has a similar system routine:

function Exp(X): Double;

### Events

Sorry, we currently have no events.

## New articles

Address in Canada: 223-2275 Lake Shore Boulevard West, Toronto, ON, M8V 3Y3

Address in Ukraine: 76006, Ivano-Frankivsk, st. Ivana Mykolaichuka 17/97

E-mail:
technot needed texteditoranother not needed text@dystlabdummy text.store

Telegram:
https://t.me/techeditor

### Legal information

Dystlab™ is a trademark registered in the State Register of Certificates of Ukraine for Goods and Services Marks 26.02.2018, certificate No. 238304. Owner: entepreneur Artomov V.E., EGRPOU/ITN: 3003314690.