MathGroup Archive 2009

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

Search the Archive

Re: Complex solutions to simple equations

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104744] Re: [mg104705] Complex solutions to simple equations
  • From: Mark McClure <mcmcclur at unca.edu>
  • Date: Sun, 8 Nov 2009 06:48:59 -0500 (EST)
  • References: <200911071149.GAA10075@smc.vnet.net>

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