Sisällys

# Add-in Functions, List of Analysis Functions Part One

The Add-in functions are supplied by the UNO com.sun.star.sheet.addin.Analysis service.

Toiminnon käyttäminen:

Lisää - Funktio - Luokka Lisäosa

## BESSELI

Calculates the modified Bessel function of the first kind In(x).

#### Syntaksi

BESSELI(X; N)

X is the value on which the function will be calculated.

N is a positive integer (N >= 0) representing the order of the Bessel function In(x)

#### Esimerkki

=BESSELI(3.45, 4), returns 0.651416873060081

=BESSELI(3.45, 4.333), returns 0.651416873060081, same as above because the fractional part of N is ignored.

=BESSELI(-1, 3), returns -0.022168424924332

## BESSELJ

Calculates the Bessel function of the first kind Jn(x) (cylinder function).

#### Syntaksi

BESSELJ(X; N)

X is the value on which the function will be calculated.

N is a positive integer (N >= 0) representing the order of the Bessel function Jn(x)

#### Esimerkki

=BESSELJ(3.45, 4), returns 0.196772639864984

=BESSELJ(3.45, 4.333), returns 0.196772639864984, same as above because the fractional part of N is ignored.

=BESSELJ(-1, 3), returns -0.019563353982668

## BESSELK

Calculates the modified Bessel function of the second kind Kn(x).

#### Syntaksi

BESSELK(X; N)

X is the strictly positive value (X > 0) on which the function will be calculated.

N is a positive integer (N >= 0) representing the order of the Bessel function Kn(x)

#### Esimerkki

=BESSELK(3.45, 4), returns 0.144803466373734

=BESSELK(3.45, 4.333), returns 0.144803466373734, same as above because the fractional part of N is ignored.

=BESSELK(0, 3), returns Err:502 – invalid argument (X=0)

## BESSELY

Calculates the Bessel function of the second kind Yn(x).

#### Syntaksi

BESSELY(X; N)

X is the strictly positive value (X > 0) on which the function will be calculated.

N is a positive integer (N >= 0) representing the order of the Bessel function Yn(x)

#### Esimerkki

=BESSELY(3.45, 4), returns -0.679848116844476

=BESSELY(3.45, 4.333), returns -0.679848116844476, same as above because the fractional part of N is ignored.

=BESSELY(0, 3), returns Err:502 – invalid argument (X=0)

## BINDES

The result is the number for the binary (base-2) number string entered.

#### Syntaksi

BIN2DEC(Number)

Number is a string representing a binary (base-2) number. It can have a maximum of 10 places (bits). The most significant bit is the sign bit. Negative numbers are entered as two's complement.

#### Esimerkki

=BIN2DEC("1100100") returns 100.

## BINHEKSA

The result is the string representing the number in hexadecimal form for the binary (base-2) number string entered.

#### Syntaksi

BIN2HEX(Number [; Places])

Number is a string representing a binary (base-2) number. It can have a maximum of 10 places (bits). The most significant bit is the sign bit. Negative numbers are entered as two's complement.

Places means the number of places to be output.

#### Esimerkki

=BIN2HEX("1100100";6) returns "000064".

## BINOKT

The result is the string representing the number in octal form for the binary (base-2) number string entered.

#### Syntaksi

BIN2OCT(Number [; Places])

Number is a string representing a binary (base-2) number. It can have a maximum of 10 places (bits). The most significant bit is the sign bit. Negative numbers are entered as two's complement.

Places means the number of places to be output.

#### Esimerkki

=BIN2OCT("1100100";4) returns "0144".

## DESBIN

The result is the string representing the number in binary (base-2) form for the number entered.

#### Syntaksi

DEC2BIN(Number [; Places])

Number is a number between -512 and 511. If Number is negative, the function returns a binary number string with 10 characters. The most significant bit is the sign bit, the other 9 bits return the value.

Places means the number of places to be output.

#### Esimerkki

=DEC2BIN(100;8) returns "01100100".

## DESHEKSA

The result is the string representing the number in hexadecimal form for the number entered.

#### Syntaksi

DEC2HEX(Number [; Places])

Number is a number. If Number is negative, the function returns a hexadecimal number string with 10 characters (40 bits). The most significant bit is the sign bit, the other 39 bits return the value.

Places means the number of places to be output.

#### Esimerkki

=DEC2HEX(100;4) returns "0064".

## DESOKT

The result is the string representing the number in octal form for the number entered.

#### Syntaksi

DEC2OCT(Number [; Places])

Number is a number. If Number is negative, the function returns an octal number string with 10 characters (30 bits). The most significant bit is the sign bit, the other 29 bits return the value.

Places means the number of places to be output.

#### Esimerkki

=DEC2OCT(100;4) returns "0144".

## HEKSABIN

The result is the string representing the number in binary (base-2) form for the hexadecimal number string entered.

#### Syntaksi

HEX2BIN(Number [; Places])

Number is a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.

Places is the number of places to be output.

#### Esimerkki

=HEX2BIN("6a";8) returns "01101010".

## HEKSADES

The result is the number for the hexadecimal number string entered.

#### Syntaksi

HEX2DEC(Number)

Number is a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.

#### Esimerkki

=HEX2DEC("6a") returns 106.

## HEKSAOKT

The result is the string representing the number in octal form for the hexadecimal number string entered.

#### Syntaksi

HEX2OCT(Number [; Places])

Number is a string that represents a hexadecimal number. It can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.

Places is the number of places to be output.

#### Esimerkki

=HEX2OCT("6a";4) returns "0152".

## RAJA

The result is 1 if Number is greater than or equal to Step.

#### Syntaksi

GESTEP(Number [; Step])

#### Esimerkki

=GESTEP(5;1) returns 1.

## SAMA.ARVO

The result is TRUE (1) if both numbers, which are delivered as an argument, are equal, otherwise it is FALSE (0).

#### Syntaksi

DELTA(Number1 [; Number2])

#### Esimerkki

=DELTA(1;2) returns 0.

## VIRHEFUNKTIO

Returns values of the Gaussian error integral.

#### Syntaksi

ERF(LowerLimit [; UpperLimit])

LowerLimit is the lower limit of the integral.

UpperLimit is optional. It is the upper limit of the integral. If this value is missing, the calculation takes place between 0 and the lower limit.

#### Esimerkki

=ERF(0;1) returns 0.842701.

## VIRHEFUNKTIO.KOMPLEMENTTI

Returns complementary values of the Gaussian error integral between x and infinity.

#### Syntaksi

ERFC(LowerLimit)

LowerLimit is the lower limit of the integral

#### Esimerkki

=ERFC(1) returns 0.157299.

## VIRHEFUNKTIO.KOMPLEMENTTI.TARKKA

Returns complementary values of the Gaussian error integral between x and infinity.

#### Syntaksi

ERFC.PRECISE(LowerLimit)

LowerLimit is the lower limit of the integral

#### Esimerkki

=ERFC.PRECISE(1) returns 0.157299.

#### Teknistä tietoa

This function is available since LibreOffice 4.3.

This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.ERFC.PRECISE

## VIRHEFUNKTIO.TARKKA

Returns values of the Gaussian error integral between 0 and the given limit.

#### Syntaksi

ERF.PRECISE(LowerLimit)

LowerLimit is the limit of the integral. The calculation takes place between 0 and this limit.

#### Esimerkki

=ERF.PRECISE(1) returns 0.842701.

#### Teknistä tietoa

This function is available since LibreOffice 4.3.

This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.ERF.PRECISE

Aiheeseen liittyvää

Add-in Functions

Add-in Functions, List of Analysis Functions Part Two

Text Functions

Functions by Category