Re: Trigonometric form of complex numbers

*To*: mathgroup at smc.vnet.net*Subject*: [mg64177] Re: [mg64158] Trigonometric form of complex numbers*From*: Andrzej Kozlowski <akoz at mimuw.edu.pl>*Date*: Sat, 4 Feb 2006 04:13:30 -0500 (EST)*References*: <200602030009.TAA10215@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

On 3 Feb 2006, at 00:09, ivan.svaljek at gmail.com wrote: > Is there a way to force mathematica to output complex numbers in > trigonometric form (I guess you call it Phasor). > Can it return all 3 roots of a complex number in such a form ? > > Thanks. Phasor? Do you mean: PolarForm[u_] := Module[{z}, Factor[ComplexExpand[z, z, TargetFunctions -> {Arg, Abs}] /. {Cos[v_] :> Cos[ TraditionalForm[v]], Sin[v_] :> Sin[TraditionalForm [v]]} /. z -> u]] ls = x /. Solve[x^3 == I, x]; PolarForm /@ ls Andrzej Kozlowski

**References**:**Trigonometric form of complex numbers***From:*ivan.svaljek@gmail.com