OpenOffice.org video based manual
Plan-B for OpenOffice.org, learning office productivity software with videos


Tech Support for OpenOffice.org
Applications
Go to Open Office Writer Index
Go to Open Office Impress Index
Go to Open Office Math Index
Go to Open Office Draw Index
Go to Open Office Calc Index
Go to Open Office Base Index
Go to Open Office Online Help Index

Help Sections:
General
Writer
Impress
Math
Draw
Calc
Base
Basic

Add-in Functions, List of Analysis Functions Part Two

To access this function...

IMABS

The result is the absolute value of a complex number.

Syntax

IMABS(Complex number)

Complex number: the complex number is entered in the form "x + yi" or "x + yj"

Example

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

COMPLEX

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

Syntax

COMPLEX(Real num;I num;Suffix)

Real num: the real coefficient of the complex number.

I num: the imaginary coefficient of the complex number.

Suffix: list of options, "i" or "j".

Example

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

CONVERT_ADD

Converts a value from one unit of measure to the corresponding value in another unit of measure. Enter the units of measures directly as text in quotation marks or as a reference. If you enter the units of measure in cells, they must correspond exactly with the following list which is case sensitive: For example, in order to enter a lower case l (for liter) in a cell, enter the apostrophe ' immediately followed by l.

Property

Units

Weight

g, sg, lbm, u, ozm, stone, ton, grain, pweight, hweight, shweight

Length

m, mi, Nmi, in, ft, yd, ang, Pica, ell, parsec

Time

yr, day, hr, mn, sec

Pressure

Pa, atm, mmHg, Torr, psi

Force

N, dyn, pond

Energy

J, e, c, cal, eV, HPh, Wh, BTU

Power

W, HP, PS

Field strength

T, ga

Temperature

C, F, K, Reau, Rank

Volume

l, tsp, tbs, oz, cup, pt, qt, gal, m3, mi3, Nmi3, in3, ft3, yd3, ang3, Pica3, barrel, bushel, regton, Schooner, Middy, Glass

Area

m2, mi2, Nmi2, in2, ft2, yd2, ang2, Pica2, Morgen, ar, acre, ha

Speed

m/s, m/h, mph, kn, admkn


Each unit of measure must be preceded by a prefix character from the following list:

Permitted prefix characters

10^(<0)

d, c, m, u, n, p, f, a, z, y

10^(>0)

e, h, k, M, G, T, P, E, Z, Y


The functions whose names end with _ADD return the same results as the corresponding Microsoft Excel functions. Use the functions without _ADD to get results based on international standards. For example, the WEEKNUM function calculates the week number of a given date based on international standard ISO 6801, while WEEKNUM_ADD returns the same week number as Microsoft Excel.

Syntax

CONVERT_ADD(Number;From unit;To unit)

Number: the number to be converted.

From unit: the unit from which conversion is taking place.

To unit: the unit to which conversion is taking place.

Examples:

=CONVERT_ADD(10;"HP";"PS") returns, rounded to two decimal places, 10.14. 10 HP equal 10.14 PS.

=CONVERT_ADD(10;"km";"mi")returns, rounded to two decimal places, 6.21. 10 Kilometers equal 6.21 miles. The k is the permitted prefix character for the factor 10^3.

FACTDOUBLE

The result is the factorial of the number with increments of 2.

Syntax

FACTDOUBLE(Number)

Number: if the number is even, the following factorial is calculated: n*(N-2)*(n-4)*...*4*2.

If the number is uneven, the following factorial is calculated: n*(N-2)*(n-4)*...*3*1.

Example

=FACTDOUBLE(6) returns 48.

IMAGINARY

The result is the imaginary coefficient of a complex number.

Syntax

IMAGINARY(Complex number)

Complex number: the complex number is entered in the form "x + yi" or "x + yj"

Example

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

IMARGUMENT

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

Syntax

IMARGUMENT(Complex number)

Complex number: the complex number is entered in the form "x + yi" or "x + yj"

Example

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

IMCONJUGATE

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

Syntax

IMCONJUGATE(Complex number)

Complex number: the complex number is entered in the form "x + yi" or "x + yj"

Example

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

IMCOS

The result is the cosine of a complex number.

Syntax

IMCOS(Complex number)

Complex number: the complex number is entered in the form "x + yi" or "x + yj"

Example

=IMCOS("3+4j") returns -27.03-3.85i (rounded).

IMDIV

The result is the division of two complex numbers.

Syntax

IMDIV(Numerator;Denominator)

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

Example

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

IMEXP

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

Syntax

IMEXP(Complex number)

Complex number: the complex number is entered in the form "x + yi" or "x + yj"

Example

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

IMLN

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

Syntax

IMLN(Complex number)

Complex number: the complex number is entered in the form "x + yi" or "x + yj"

Example

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

IMLOG10

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

Syntax

IMLOG10(Complex number)

Complex number: the complex number is entered in the form "x + yi" or "x + yj"

Example

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

IMLOG2

The result is the binary logarithm of a complex number.

Syntax

IMLOG2(Complex number)

Complex number: the complex number is entered in the form "x + yi" or "x + yj"

Example

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

IMPOWER

The result is the integer power of a complex number.

Syntax

IMPOWER(Complex number;Number)

Complex number: the complex number is entered in the form "x + yi" or "x + yj"

Number: the exponent.

Example

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

IMPRODUCT

The result is the product of up to 29 complex numbers.

Syntax

IMPRODUCT(Complex number;Complex number 1;...)

Complex number: the complex numbers are entered in the form "x + yi" or "x + yj"

Example

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

IMREAL

The result is the real coefficient of a complex number.

Syntax

IMREAL(Complex number)

Complex number: the complex number is entered in the form "x + yi" or "x + yj"

Example

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

IMSIN

The result is the sine of a complex number.

Syntax

IMSIN(Complex number)

Complex number: the complex number is entered in the form "x + yi" or "x + yj"

Example

=IMSIN("3+4j") returns 3.85+27.02j (rounded).

IMSQRT

The result is the square root of a complex number.

Syntax

IMSQRT(Complex number)

Complex number: the complex numbers are entered in the form "x + yi" or "x + yj"

Example

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

IMSUB

The result is the subtraction of two complex numbers.

Syntax

IMSUB(Complex number 1;Complex number 2)

Complex number: the complex numbers are entered in the form "x + yi" or "x + yj"

Example

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

IMSUM

The result is the sum of up to 29 complex numbers.

Syntax

IMSUM(Complex number 1;Complex number 2;...)

Complex number: the complex numbers are entered in the form "x + yi" or "x + yj"

Example

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

OCT2BIN

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

Syntax

OCT2BIN(Number;Places)

Number: the octal number. The number 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: the number of places to be output.

Example

=OCT2BIN(3;3) returns 011.

OCT2DEC

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

Syntax

OCT2DEC(Number)

Number: the octal number. The number 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

=OCT2DEC(144) returns 100.

OCT2HEX

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

Syntax

OCT2HEX(Number;Places)

Number: the octal number. The number 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: the number of places to be output.

Example

=OCT2HEX(144;4) returns 0064.

Index

imaginary numbers in analysis functions

complex numbers in analysis functions

IMABS function

IMAGINARY function

IMPOWER function

IMARGUMENT function

IMCOS function

IMDIV function

IMEXP function

IMCONJUGATE function

IMLN function

IMLOG10 function

IMLOG2 function

IMPRODUCT function

IMREAL function

IMSIN function

IMSUB function

IMSUM function

IMSQRT function

COMPLEX function

OCT2BIN function

converting,octal numbers, into binary numbers

OCT2DEC function

converting,octal numbers, into decimal numbers

OCT2HEX function

converting,octal numbers, into hexadecimal numbers

CONVERT_ADD function

FACTDOUBLE function

factorials,numbers with increments of two

This help text is published from the OpenOffice-Help files under the Public Documentation License 1.0.

Get OpenOffice.org - Free!