MathGroup Archive 2008

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

Search the Archive

Re: minimizing the absolute value of a complex number

  • To: mathgroup at smc.vnet.net
  • Subject: [mg91508] Re: minimizing the absolute value of a complex number
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Sun, 24 Aug 2008 07:07:27 -0400 (EDT)
  • Organization: The Open University, Milton Keynes, UK
  • References: <g8o88u$l81$1@smc.vnet.net>

shama shahbaz wrote:

> cananybody tell me how to minimize the absolute value of the complex function
>  
> exp(jP)+exp(2*pi/180j)
>  
> where P is the unknown
>  
> i have some clue regarding taking the Cos and Sin values but i dont know how to minimize the equations
>  
> Re{exp(jP)}+Re{exp(2*pi/180j)}=0
>  
> Im{exp(jP)}+Im{exp(2*pi/180j)}=0

     In[1]:= NMinimize[Abs[Exp[I P] + Exp[2*Pi/180 I]], P]

     Out[1]= {6.9816*10^-12, {P -> 3.1765}}

Regards,
-- Jean-Marc


  • Prev by Date: Re: Background and Frame in Panels
  • Next by Date: Re: Multifile search
  • Previous by thread: minimizing the absolute value of a complex number
  • Next by thread: Background and Frame in Panels