MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Complex solutions to simple equations


On Sat, Nov 7, 2009 at 6:49 AM, dragonman <morrisneedleman at gmail.com> wrote:
> I want the solutions to x^n=1 to appear in the form r(cos theta +isin
> theta) and then to graph them on an Argand diagram. Any advice given
> would be much appreciated.

Here are the solutions to such an equation in
the form you want.
sols = ExpToTrig[z /. Solve[z^99 == 1, z]]

And here they are in the plane.
ListPlot[Table[{Re[z], Im[z]}, {z, sols}],
 AspectRatio -> Automatic]

Mark McClure


  • Prev by Date: Re: ODE with complex coefficients
  • Next by Date: Piecewise with ODE and constant
  • Previous by thread: Complex solutions to simple equations
  • Next by thread: Re: Complex solutions to simple equations