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

## IMABS

The result is the absolute value of a complex number.

### Sintakse

IMABS("ComplexNumber")

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

### Piemērs

=IMABS("5+12j") atgriež 13.

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

## COMPLEX

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

### Sintakse

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

### Piemērs

=COMPLEX(3;4;"j") atgriež 3+4j.

## CONVERT

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.

Īpašība |
Vienības |

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

Garums |
m, mi, Nmi, in, ft, yd, ang, Pica, ell, parsec, lightyear, survey_mi |

Laiks |
yr, day, hr, mn, sec, s |

Pressure |
Pa, atm, at, mmHg, Torr, psi |

Force |
N, dyn, dy, lbf, pond |

Energy |
J, e, c, cal, eV, ev, HPh, Wh, wh, flb, BTU, btu |

Pakāpe |
W, w, HP, PS |

Field strength |
T, ga |

Temperatūra |
C, F, K, kel, Reau, Rank |

Sējums |
l, L, lt, tsp, tbs, oz, cup, pt, us_pt, qt, gal, m3, mi3, Nmi3, in3, ft3, yd3, ang3, Pica3, barrel, bushel, regton, Schooner, Middy, Glass |

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

Ātrums |
m/s, m/sec, m/h, mph, kn, admkn |

Informācija |
bit, byte |

Units of measure in bold can be preceded by a prefix character from the following list:

Priedēklis |
Reizinātājs |

Y (jota) |
10^24 |

Z (zeta) |
10^21 |

E (eksa) |
10^18 |

P (peta) |
10^15 |

T (tera) |
10^12 |

G (giga) |
10^9 |

M (mega) |
10^6 |

k (kilo) |
10^3 |

h (hekto) |
10^2 |

e (deka) |
10^1 |

d (deci) |
10^-1 |

c (centi) |
10^-2 |

m (mili) |
10^-3 |

u (mikro) |
10^-6 |

n (nano) |
10^-9 |

p (piko) |
10^-12 |

f (femto) |
10^-15 |

a (ato) |
10^-18 |

z (zepto) |
10^-21 |

y (jokto) |
10^-24 |

Information units "bit" and "byte" may also be prefixed by one of the following IEC 60027-2 / IEEE 1541 prefixes:

ki kibi 1024

Mi mebi 1048576

Gi gibi 1073741824

Ti tebi 1099511627776

Pi pebi 1125899906842620

Ei exbi 1152921504606850000

Zi zebi 1180591620717410000000

Yi yobi 1208925819614630000000000

### Sintakse

CONVERT(Number; "FromUnit"; "ToUnit")

Number is the number to be converted.

FromUnit is the unit from which conversion is taking place.

ToUnit is the unit to which conversion is taking place. Both units must be of the same type.

### Piemēri

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

=CONVERT(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

Returns the double factorial of a number.

### Sintakse

FACTDOUBLE(Skaitlis)

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

Pāra skaitļiem FACTDOUBLE(n) atgriež:

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

Nepāra skaitļiem FACTDOUBLE(n) atgriež:

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

FACTDOUBLE(0) pēc definīcijas atgriež 1.

### Piemērs

=FACTDOUBLE(5) atgriež 15.

=FACTDOUBLE(6) atgriež 48.

=FACTDOUBLE(0) atgriež 1.

## IMAGINARY

The result is the imaginary coefficient of a complex number.

### Sintakse

IMAGINARY("ComplexNumber")

### Piemērs

=IMAGINARY("4+3j") atgriež 3.

## IMARGUMENT

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

### Sintakse

IMARGUMENT("ComplexNumber")

### Piemērs

=IMARGUMENT("3+4j") atgriež 0.927295.

## IMCONJUGATE

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

### Sintakse

IMCONJUGATE("ComplexNumber")

### Piemērs

=IMCONJUGATE("1+j") atgriež 1-j.

## IMDIV

The result is the division of two complex numbers.

### Sintakse

IMDIV("Numerator"; "Denominator")

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

### Piemērs

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

## IMEXP

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

### Sintakse

IMEXP("ComplexNumber")

### Piemērs

=IMEXP("1+j") atgriež 1.47+2.29j (noapaļots).

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

### Sintakse

IMLN("ComplexNumber")

### Piemērs

=IMLN("1+j") atgriež 0.35+0.79j (noapaļots).

## IMLOG10

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

### Sintakse

IMLOG10("ComplexNumber")

### Piemērs

=IMLOG10("1+j") atgriež 0.15+0.34j (noapaļots).

## IMLOG2

The result is the binary logarithm of a complex number.

### Sintakse

IMLOG2("ComplexNumber")

### Piemērs

=IMLOG2("1+j") atgriež 0.50+1.13j (noapaļots).

## IMPOWER

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

### Sintakse

IMPOWER("ComplexNumber"; Number)

Number is the exponent.

### Piemērs

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

## IMPRODUCT

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

### Sintakse

IMPRODUCT("ComplexNumber"; "ComplexNumber1"; ...)

### Piemērs

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

## IMREAL

The result is the real coefficient of a complex number.

### Sintakse

IMREAL("ComplexNumber")

### Piemērs

=IMREAL("1+3j") atgriež 1.

## IMSQRT

The result is the square root of a complex number.

### Sintakse

IMSQRT("ComplexNumber")

### Piemērs

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

## IMSUB

The result is the subtraction of two complex numbers.

### Sintakse

IMSUB("ComplexNumber1"; "ComplexNumber2")

### Piemērs

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

## IMSUM

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

### Sintakse

IMSUM("ComplexNumber1"; "ComplexNumber2"; ...)

### Piemērs

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

## OCT2BIN

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

### Sintakse

OCT2BIN(Number; Places)

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

### Piemērs

=OCT2BIN(3;3) atgriež 011.

## OCT2DEC

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

### Sintakse

OCT2DEC(Skaitlis)

Number is 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.

### Piemērs

=OCT2DEC(144) atgriež 100.

## OCT2HEX

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

### Sintakse

OCT2HEX(Number; Places)

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

### Piemērs

=OCT2HEX(144;4) atgriež 0064.