Difference between revisions of "ComplexRadians"

m (closing tag)
Line 1: Line 1:
 +
[[Category:Math Functions]]
 +
[[category:Functions that operate on complex numbers]]
 +
''New in [[Analytica 4.5]]''
 +
 
Returns the phase of a [[Complex Numbers|complex number]] in radians.
 
Returns the phase of a [[Complex Numbers|complex number]] in radians.
  

Revision as of 18:22, 11 April 2013

New in Analytica 4.5

Returns the phase of a complex number in radians.

A complex number can be written in polar form as [math]\displaystyle{ r e^{\theta j} }[/math]. Given a complex number, x, ComplexRadians returns [math]\displaystyle{ \theta }[/math], the result being expressed in radians in the range of [math]\displaystyle{ [-\pi,\pi) }[/math].

Examples

ComplexRadians(5+5j) → 0.7854 {This is [math]\displaystyle{ \pi/4 }[/math]}
ComplexRadians(1j) → 1.571 {This is [math]\displaystyle{ \pi/2 }[/math]}
ComplexRadians(-1j) → -1.571
ComplexRadians(-2) → -3.142
ComplexRadians(.1) → 0

See Also

Comments


You are not allowed to post comments.