MathGroup Archive 2009

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

Search the Archive

Re: Re[] function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105977] Re: [mg105957] Re[] function
  • From: "David Park" <djmpark at comcast.net>
  • Date: Tue, 29 Dec 2009 01:17:39 -0500 (EST)
  • References: <15605470.1261994802600.JavaMail.root@n11>

The initial Element expression does nothing all by itself.

Is this what you want?

Print["The definition of Z"] 
Z = (Rm I Xm)/(Rm + I Xm) 
Print["Take the real part, but this only partially simplifies."] 
step1 = Re[Z] 
Print["ComplexExpand simplifies assuming that all symbols are real"] 
ComplexExpand[step1] 


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  


From: Fabian [mailto:fabian.uriarte at gmail.com] 

Dear Group-

Why can't Mathematica evaluate "Re[]" here ?

{Rm, Xm} \[Element] Reals;
Z = (Rm*\[ImaginaryJ] Xm)/(Rm + \[ImaginaryJ]*Xm);
Z = ComplexExpand[Z]
Re[Z]

-Thank you




  • Prev by Date: bug in RandomChoice if weight is zero?
  • Next by Date: Re: Re[] function
  • Previous by thread: Re: Re[] function
  • Next by thread: Re: Re[] function