Sisällys

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

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

## IMCOS

Returns the cosine of a complex number.

## IMCOSH

Returns the hyperbolic cosine of a complex number.

## IMCOT

Returns the cotangent of a complex number.

## IMCSC

Returns the cosecant of a complex number.

## IMCSCH

Returns the hyperbolic cosecant of a complex number.

## IMSEC

Returns the secant of a complex number.

## IMSECH

Returns the hyperbolic secant of a complex number.

## IMSIN

Returns the sine of a complex number.

## IMSINH

Returns the hyperbolic sine of a complex number.

## IMTAN

Returns the tangent of a complex number.

## CONVERT

Converts a value from one unit of measurement to the corresponding value in another unit of measurement.

## KERTOMA.OSA

Returns the double factorial of a number.

#### Syntaksi

FACTDOUBLE(Number)

Returns Number !!, the double factorial of Number, where Number is an integer greater than or equal to zero.

For even numbers FACTDOUBLE(n) returns:

2*4*6*8* ... *n

For odd numbers FACTDOUBLE(n) returns:

1*3*5*7* ... *n

FACTDOUBLE(0) returns 1 by definition.

#### Esimerkki

=FACTDOUBLE(5) returns 15.

=FACTDOUBLE(6) returns 48.

=FACTDOUBLE(0) returns 1.

## KOMPLEKSI

The result is a complex number which is returned from a real coefficient and an imaginary coefficient.

#### Syntaksi

COMPLEX(RealNum; INum [; Suffix])

RealNum is the real coefficient of the complex number.

INum is the imaginary coefficient of the complex number.

Suffix is a list of options, "i" or "j".

#### Esimerkki

=COMPLEX(3;4;"j") returns 3+4j.

## KOMPLEKSI.ABS

The result is the absolute value of a complex number.

#### Syntaksi

IMABS("ComplexNumber")

ComplexNumber is a complex number that is entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMABS("5+12j") returns 13.

## KOMPLEKSI.ARG

The result is the argument (the phi angle) of a complex number.

#### Syntaksi

IMARGUMENT("ComplexNumber")

ComplexNumber is a complex number that is entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMARGUMENT("3+4j") returns 0.927295.

## KOMPLEKSI.EKSP

The result is the power of e and the complex number. The constant e has a value of approximately 2.71828182845904.

#### Syntaksi

IMEXP("ComplexNumber")

ComplexNumber is a complex number that is entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMEXP("1+j") returns 1.47+2.29j (rounded).

## KOMPLEKSI.EROTUS

The result is the subtraction of two complex numbers.

#### Syntaksi

IMSUB("ComplexNumber1"; "ComplexNumber2")

ComplexNumber is a complex number that is entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMSUB("13+4j";"5+3j") returns 8+j.

## KOMPLEKSI.IMAG

The result is the imaginary coefficient of a complex number.

#### Syntaksi

IMAGINARY("ComplexNumber")

ComplexNumber is a complex number that is entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMAGINARY("4+3j") returns 3.

## KOMPLEKSI.KONJ

The result is the conjugated complex complement to a complex number.

#### Syntaksi

IMCONJUGATE("ComplexNumber")

ComplexNumber is a complex number that is entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMCONJUGATE("1+j") returns 1-j.

## KOMPLEKSI.LN

The result is the natural logarithm (to the base e) of a complex number. The constant e has a value of approximately 2.71828182845904.

#### Syntaksi

IMLN("ComplexNumber")

ComplexNumber is a complex number that is entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMLN("1+j") returns 0.35+0.79j (rounded).

## KOMPLEKSI.LOG10

The result is the common logarithm (to the base 10) of a complex number.

#### Syntaksi

IMLOG10("ComplexNumber")

ComplexNumber is a complex number that is entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMLOG10("1+j") returns 0.15+0.34j (rounded).

## KOMPLEKSI.LOG2

The result is the binary logarithm of a complex number.

#### Syntaksi

IMLOG2("ComplexNumber")

ComplexNumber is a complex number that is entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMLOG2("1+j") returns 0.50+1.13j (rounded).

## KOMPLEKSI.NELIÖJ

The result is the square root of a complex number.

#### Syntaksi

IMSQRT("ComplexNumber")

ComplexNumber is a complex number that is entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMSQRT("3+4i") returns 2+1i.

## KOMPLEKSI.OSAM

The result is the division of two complex numbers.

#### Syntaksi

IMDIV("Numerator"; "Denominator")

Numerator, Denominator are complex numbers that are entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMDIV("-238+240i";"10+24i") returns 5+12i.

## KOMPLEKSI.POT

The result is the ComplexNumber raised to the power of Number.

#### Syntaksi

IMPOWER("ComplexNumber"; Number)

ComplexNumber is a complex number that is entered in the form "x+yi" or "x+yj".

Number is the exponent.

#### Esimerkki

=IMPOWER("2+3i";2) returns -5+12i.

## KOMPLEKSI.REAALI

The result is the real coefficient of a complex number.

#### Syntaksi

IMREAL("ComplexNumber")

ComplexNumber is a complex number that is entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMREAL("1+3j") returns 1.

## KOMPLEKSI.SUM

The result is the sum of a set of complex numbers.

#### Syntaksi

IMSUM(Complex 1 [; Complex 2 [; … [; Complex 255]]])

Complex 1; Complex 2; … ; Complex 255 are complex numbers, references to cells or to cell ranges of complex numbers. Complex numbers are entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMSUM("13+4j";"5+3j") returns 18+7j.

## KOMPLEKSI.TULO

The result is the product of a set of complex numbers.

#### Syntaksi

IMPRODUCT(Complex 1 [; Complex 2 [; … [; Complex 255]]])

Complex 1; Complex 2; … ; Complex 255 are complex numbers, references to cells or to cell ranges of complex numbers. Complex numbers are entered in the form "x+yi" or "x+yj".

#### Esimerkki

=IMPRODUCT("3+4j";"5-3j") returns 27+11j.

## OKTBIN

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

#### Syntaksi

OCT2BIN(Number [; Places])

Number is a string that represents an octal 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

=OCT2BIN("3";3) returns "011".

## OKTDES

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

#### Syntaksi

OCT2DEC(Number)

Number is a string that represents an octal 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

=OCT2DEC("144") returns 100.

## OKTHEKSA

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

#### Syntaksi

OCT2HEX(Number [; Places])

Number is a string that represents an octal 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

=OCT2HEX("144";4) returns "0064".

Aiheeseen liittyvää

Add-in Functions

Add-in Functions, List of Analysis Functions Part One

Statistics Functions

Functions by Category