Mathematical Functions

Mathematical functions give you access to some basic mathematical functions, like exponential or trigonometric functions. They take the input values and return a numeric value.

sin(x)

Returns the sine for a given numeric value.

cos(x)

Returns the cosine for a given numeric value.

tg(x)

Returns the tangent for a given numeric value.

ctg(x)

Returns the cotangent for a given numeric value.

asin(x)

Returns the arcsine for a given numeric value.

acos(x)

Returns the arccosine for a given numeric value.

atan(x)

Returns the arctangent for a given numeric value.

sqrt(x)

Returns the square root for a given numeric value.

exp(x)

Returns the result of the exponential function for a given numeric value.

log(x)

Returns the result of the logarithmic function for a given numeric value.

ln(x)

Returns the natural logarithm for a given numeric value.

Pi

Returns the value for the mathematical constant pi (π = 3.14159…)

EulersNumber

Returns the value for Euler's number (e = 2.71…)

abs(x)

Returns the absolute value for a given numeric value.

trunc(x)

Returns the truncated value for a given numeric value.

round(x)

Returns the rounded value for a given numeric value.

power(Base,Exponent)

Returns the result of the power function for a given base and exponent.

max(First,Second)

Returns the higher value of two given numeric values.

min(First,Second)

Returns the lower value of two given numeric values.

sin

This function calculates the sine for a given numeric value.

sin(x)

Parameters

x

Numeric

Specifies the value that the sine is calculated for.

Returns

 

Numeric

 

cos

This function calculates the cosine for a given numeric value.

cos(x)

Parameters

x

Numeric

Specifies the value that the cosine is calculated for.

Returns

 

Numeric

 

tg

This function calculates the tangent for a given numeric value.

tg(x)

Parameters

x

Numeric

Specifies the value that the tangent is calculated for.

Returns

 

Numeric

 

ctg

This function calculates the cotangent for a given numeric value.

ctg(x)

Parameters

x

Numeric

Specifies the value that the cotangent is calculated for.

Returns

 

Numeric

 

asin

This function calculates the arcsine for a given numeric value.

asin(x)

Parameters

x

Numeric

Specifies the value that the arcsine is calculated for.

Returns

 

Numeric

 

acos

This function calculates the arccosine for a given numeric value.

acos(x)

Parameters

x

Numeric

Specifies the value that the arccosine is calculated for.

Returns

 

Numeric

 

atan

This function calculates the arctangent for a given numeric value.

atan(x)

Parameters

x

Numeric

Specifies the value that the arctangent is calculated for.

Returns

 

Numeric

 

sqrt

This function calculates the square root of a given numeric value.

sqrt(x)

Parameters

x

Numeric

Specifies the value that the square root is calculated for.

Returns

 

Numeric

 

exp

This function calculates the result of the exponential function for a given numeric value.

exp(x)

Parameters

x

Numeric

Specifies the value that the exponential function is calculated for.

Returns

 

Numeric

 

log

This function calculates the result of the logarithmic function for a given numeric value.

log(x)

Parameters

x

Numeric

Specifies the value that the logarithmic function is calculated for.

Returns

 

Numeric

 

ln

This function calculates the natural logarithm for a given numeric value.

ln(x)

Parameters

x

Numeric

Specifies the value that the natural logarithm is calculated for.

Returns

 

Numeric

 

Pi

This function returns the value for the mathematical constant pi (π = 3.14159…). This function is called without brackets, since it does not require any input.

Pi

Parameters

 

None

Returns

 

Numeric

EulersNumber

This function returns the value for Euler's number (e = 2.71…). This function is called without brackets, since it does not require any input.

EulersNumber

Parameters

 

None

Returns

 

Numeric

abs

This function calculates the absolute value for a given numeric value.

abs(x)

Parameters

x

Numeric

Specifies the value that the absolute value is calculated for.

Returns

 

Numeric

 

trunc

This function calculates the truncated value for a given numeric value (it removes the trailing decimal portion of the number). It returns an integer.

trunc(x)

Parameters

x

Numeric

Specifies the value that the truncated value is calculated for.

Returns

 

Numeric

 

round

This function calculates the rounded value for a given numeric value. It returns an integer.

round(x)

Parameters

x

Numeric

Specifies the value that the rounded value is calculated for.

Returns

 

Numeric

 

power

This function calculates the result of the power function for a given base and exponent.

power(Base, Exponent)

Parameters

Base

Numeric

Specifies the base of the power function.

 

Exponent

Numeric

Specifies the exponent of the power function.

Returns

 

Numeric

 

max

This function returns the higher value of two given numeric values.

max(First, Second)

Parameters

First

Numeric

Specifies the first value.

 

Second

Numeric

Specifies the second value.

Returns

 

Numeric

 

min

This function returns the lower value of two given numeric values.

min(First, Second)

Parameters

First

Numeric

Specifies the first value.

 

Second

Numeric

Specifies the second value.

Returns

 

Numeric