Difference between revisions of "Documentation/How Tos/Calc: IMEXP function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
(→‎Syntax:: italics)
Line 9: Line 9:
 
=== Syntax: ===
 
=== Syntax: ===
 
<tt>'''IMEXP(complexnumber)'''</tt>
 
<tt>'''IMEXP(complexnumber)'''</tt>
: <tt>'''complexnumber'''</tt> is text representing a complex number, for example as <tt>'''a+bi'''</tt> or <tt>'''a+bj'''</tt>.
+
: <tt>'''complexnumber'''</tt> is text representing a complex number, for example as <tt>'''<i>a</i>+<i>bi</i>'''</tt> or <tt>'''<i>a</i>+<i>bj</i>'''</tt>.
  
 
: <tt>'''IMEXP'''</tt> returns the mathematical constant <i>e</i> raised to the power of <tt>'''complexnumber'''</tt>. The result is a complex number presented as text.
 
: <tt>'''IMEXP'''</tt> returns the mathematical constant <i>e</i> raised to the power of <tt>'''complexnumber'''</tt>. The result is a complex number presented as text.
  
: If <tt>'''complexnumber'''</tt> is <tt>'''a+bi'''</tt>, <tt>'''IMEXP(complexnumber)'''</tt> returns <tt>'''<i>e</i><sup>a+bi</sup>'''</tt> = <tt>'''<i>e</i><sup>a</sup>(cosb+isinb)'''</tt>.
+
: If <tt>'''complexnumber'''</tt> is <tt>'''<i>a</i>+<i>bi</i>'''</tt>, <tt>'''IMEXP(complexnumber)'''</tt> returns <tt>'''<i>e</i><sup><i>a</i>+<i>bi</i></sup>'''</tt> = <tt>'''<i>e</i><sup><i>a</i></sup>(cos<i>b</i>+<i>i</i>sin<i>b</i>)'''</tt>.
  
 
=== Example: ===
 
=== Example: ===

Revision as of 21:01, 22 February 2008


IMEXP

Returns e to the power of a complex number.

This function is only available if the Analysis AddIn is installed.

Syntax:

IMEXP(complexnumber)

complexnumber is text representing a complex number, for example as a+bi or a+bj.
IMEXP returns the mathematical constant e raised to the power of complexnumber. The result is a complex number presented as text.
If complexnumber is a+bi, IMEXP(complexnumber) returns ea+bi = ea(cosb+isinb).

Example:

IMEXP("1+2i")

returns -1.13120438375681+2.47172667200482i as text.

See also:

IMLN

Complex Number functions

Issues:

  • This function currently appears in the AddIn category of the Function Wizard.
Personal tools