Difference between revisions of "Documentation/How Tos/Calc: IMARGUMENT function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
(16 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE: IMARGUMENT function}} |
+ | {{Documentation/CalcFunc ComplexNumberTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_IMAGINARY_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_IMCONJUGATE_function | ||
+ | }}__NOTOC__ | ||
== IMARGUMENT == | == IMARGUMENT == | ||
Line 9: | Line 14: | ||
=== Syntax: === | === Syntax: === | ||
<tt>'''IMARGUMENT(complexnumber)'''</tt> | <tt>'''IMARGUMENT(complexnumber)'''</tt> | ||
− | : <tt>'''complexnumber'''</tt> is text representing a complex number, for example as <tt>'''a+bi'''</tt> or <tt>'''a | + | : <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>'''IMARGUMENT'''</tt> returns the argument of <tt>'''complexnumber'''</tt> in radians - that is, in a polar representation, the angle relative to the horizontal axis. | + | : <tt>'''IMARGUMENT'''</tt> returns the argument of <tt>'''complexnumber'''</tt> in radians - that is, in a polar representation, the angle relative to the horizontal axis. For a complex number <tt>'''<i>a</i>+<i>bi</i>'''</tt> = <tt>'''<i>r</i>(cosφ + isinφ)'''</tt> the argument is φ. |
=== Example: === | === Example: === | ||
<tt>'''IMARGUMENT("3+3i")'''</tt> | <tt>'''IMARGUMENT("3+3i")'''</tt> | ||
: returns <tt>'''0.785398163397'''</tt> - that is 2π/8 radians. | : returns <tt>'''0.785398163397'''</tt> - that is 2π/8 radians. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Issues: === | === Issues: === | ||
* This function currently appears in the AddIn category of the Function Wizard. | * This function currently appears in the AddIn category of the Function Wizard. | ||
+ | |||
+ | {{SeeAlso|EN| | ||
+ | * [[Documentation/How_Tos/Calc: IMABS function|IMABS]] | ||
+ | |||
+ | * [[Documentation/How_Tos/Calc: Complex Number functions|Complex Number functions]] | ||
+ | |||
+ | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
+ | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Complex Number functions]] |
Latest revision as of 10:35, 30 January 2024
IMARGUMENT
Returns the argument of a complex number.
This function is only available if the Analysis AddIn is installed.
Syntax:
IMARGUMENT(complexnumber)
- complexnumber is text representing a complex number, for example as a+bi or a+bj.
- IMARGUMENT returns the argument of complexnumber in radians - that is, in a polar representation, the angle relative to the horizontal axis. For a complex number a+bi = r(cosφ + isinφ) the argument is φ.
Example:
IMARGUMENT("3+3i")
- returns 0.785398163397 - that is 2π/8 radians.
Issues:
- This function currently appears in the AddIn category of the Function Wizard.
See Also