LibreOffice SymbolLibreOffice Symbol

Ens cal la vostra ajuda!

funció COSIM

Returns the cosine of a complex number.

The cosine of a complex number can be expressed by its real and imaginary parts:

cos ( a + i b ) = cos ( a ) cosh ( b ) i sin ( a ) sinh ( b ) cos(a + {ital i} b) = cos(a)cosh(b) - ital i sin(a)sinh(b)

The result is presented in the string format and has the character "i" or "j" as an imaginary unit.

Sintaxi

COSIM("NombreComplex")

Complex_number is a complex number whose cosine is to be calculated.

Icona de nota

A complex number is a string expression resulting in the form "a+bi" or "a+bj", where a and b are numbers.
If the complex number is actually a real number (b=0), then it can be either a string expression or a number value.


Icona d'avís

La funció retorna sempre una cadena que representa un nombre complex.
Si el resultat és un nombre complex amb una de les parts (a o b) igual a zero, esta part no es mostra.


Exemples

=IMCOS("4-3i")
returns -6.58066304055116-7.58155274274654i.

=IMCOS(2)
retorna -0416146836547142 com una cadena. La part imaginària equival a zero; per tant, no forma part del resultat.

Informació tècnica

Icona de nota

This function is part of the Open Document Format for Office Applications (OpenDocument) standard.



funció COSHIM, funció SINIM, funció SINHIM