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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Syntax:)
m
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE: IMABS function}}
 +
{{Documentation/CalcFunc ComplexNumberTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_COMPLEX_function
 +
|NextPage=Documentation/How_Tos/Calc:_IMAGINARY_function
 +
}}__NOTOC__
  
 
== IMABS ==
 
== IMABS ==
Line 9: Line 14:
 
=== Syntax: ===
 
=== Syntax: ===
 
<tt>'''IMABS(complexnumber)'''</tt>
 
<tt>'''IMABS(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>'''IMABS'''</tt> returns the absolute value or modulus of <tt>'''complexnumber'''</tt> - that is, in a polar representation, the distance from the origin. If <tt>'''complexnumber'''</tt> is <tt>'''a+bi'''</tt>, then the absolute value is &radic;(a<sup>2</sup> + b<sup>2</sup>).
+
: <tt>'''IMABS'''</tt> returns the absolute value or modulus of <tt>'''complexnumber'''</tt> - that is, in a polar representation, the distance from the origin. If <tt>'''complexnumber'''</tt> is <tt>'''<i>a</i>+<i>bi</i>'''</tt>, then the absolute value is &radic;(<i>a</i><sup>2</sup> + <i>b</i><sup>2</sup>).
  
 
=== Example: ===
 
=== Example: ===
 
<tt>'''IMABS("4+3i")'''</tt>
 
<tt>'''IMABS("4+3i")'''</tt>
 
: returns <tt>'''5'''</tt>.
 
: returns <tt>'''5'''</tt>.
 
=== See also: ===
 
'''[[Documentation/How_Tos/Calc: IMARGUMENT function|IMARGUMENT]]'''
 
 
'''[[Documentation/How_Tos/Calc: Complex Number functions|Complex Number functions]]'''
 
  
 
=== 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: IMARGUMENT function|IMARGUMENT]]
 +
 +
* [[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:36, 30 January 2024

IMABS

Returns the absolute value of a complex number.

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

Syntax:

IMABS(complexnumber)

complexnumber is text representing a complex number, for example as a+bi or a+bj.
IMABS returns the absolute value or modulus of complexnumber - that is, in a polar representation, the distance from the origin. If complexnumber is a+bi, then the absolute value is √(a2 + b2).

Example:

IMABS("4+3i")

returns 5.

Issues:

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



See Also
Views
Personal tools
Navigation
Tools