Innhold
Innholdsliste 🔎︎

# 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.

For å bruke denne funksjonen …

Sett inn → Funksjon → Kategori Tillegg

## BESSELI

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

#### Syntax

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)

#### Example

=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).

#### Syntax

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)

#### Example

=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).

#### Syntax

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)

#### Example

=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).

#### Syntax

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)

#### Example

=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)

## BIN2DEC

Resultatet er det desimaltallet som tilsvarer det binære tallet som ble skrevet inn.

#### Syntax

BIN2DEC(Number)

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

#### Example

=N(SANN) gir 1

## BIN2HEX

Resultatet er det heksadesimale tallet som tilsvarer det binære tallet som ble skrevet inn.

#### Syntax

BIN2HEX(Number [; Places])

Number is a binary number. The number 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.

#### Example

=N(SANN) gir 1

## BIN2OCT

Resultatet er oktaltallet som tilsvarer det binære tallet som ble skrevet inn.

#### Syntax

BIN2OCT(Number [; Places])

Number is a binary number. The number 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.

#### Example

=N(USANN) gir 0

## DEC2BIN

Resultatet er det binære tallet som tilsvarer et desimaltall mellom -512 og 511 som skrives inn.

#### Syntax

DEC2BIN(Number [; Places])

Number is a decimal number. If Number is negative, the function returns a binary number 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.

#### Example

=N(SANN) gir 1

## DEC2HEX

Resultatet er det heksadesimale tallet som tilsvarer desimaltallet som skrives inn.

#### Syntax

DEC2HEX(Number [; Places])

Number is a decimal number. If Number is negative, the function returns a hexadecimal number 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.

#### Example

=N(USANN) gir 0

## DEC2OCT

Resultatet er det oktaltallet som tilsvarer desimaltallet som skrives inn.

#### Syntax

DEC2OCT(Number [; Places])

Number is a decimal number. If Number is negative, the function returns an octal number 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.

#### Example

=N(USANN) gir 0

## DELTA

Resultatet er SANN (1) hvis begge tallene som gis som argumenter er like. Ellers blir resultatet USANN (0).

#### Syntax

DELTA(Number1 [; Number2])

#### Example

=N(USANN) gir 0

## ERF

Gir verdiene til et Gauss-feilintegral.

#### Syntax

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.

#### Example

=N(123) gir 123

## ERFC

Gir komplementærverdiene til Gauss-feilintegralet mellom x og uendelig.

#### Syntax

ERFC(LowerLimit)

LowerLimit is the lower limit of the integral

#### Example

=N(123) gir 123

## ERFC.PRECISE

Gir komplementærverdiene til Gauss-feilintegralet mellom x og uendelig.

Denne funksjonen har vært tilgjengelig siden LibreOffice 4.3.

#### Syntax

ERFC.PRECISE(LowerLimit)

LowerLimit is the lower limit of the integral

#### Example

=ERFC.PRECISE(1) returns 0.157299.

## ERF.PRECISE

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

Denne funksjonen har vært tilgjengelig siden LibreOffice 4.3.

#### Syntax

ERF.PRECISE(LowerLimit)

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

#### Example

=ERF.PRECISE(1) returns 0.842701.

## GESTEP

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

#### Syntax

GESTEP(Number [; Step])

#### Example

=N(SANN) gir 1

## HEX2BIN

Resultatet er binærtallet som tilsvarer det heksadesimale tallet som skrives inn.

#### Syntax

HEX2BIN(Number [; Places])

Number is a hexadecimal number or 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.

#### Example

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

## HEX2DEC

Resultatet er desimaltallet som tilsvarer det heksadesimale tallet som skrives inn.

#### Syntax

HEX2DEC(Number)

Number is a hexadecimal number or 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.

#### Example

=HEX2DEC("6a") returns 106.

## HEX2OCT

Resultatet er oktaltallet som tilsvarer det heksadesimale tallet som skrives inn.

#### Syntax

HEX2OCT(Number [; Places])

Number is a hexadecimal number or 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.

#### Example

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

Lignende emner

Add-in Functions

Add-in Functions, List of Analysis Functions Part Two

Text Functions

Funksjoner etter kategori