Re: basic complex number question

*To*: mathgroup at smc.vnet.net*Subject*: [mg72124] Re: basic complex number question*From*: dh <dh at metrohm.ch>*Date*: Wed, 13 Dec 2006 06:39:07 -0500 (EST)*Organization*: hispeed.ch*References*: <eljaq8$7fm$1@smc.vnet.net>

Hi Daniel, you could e.g. try: myRe[z_] := (z + Conjugate[z])/2 // ComplexExpand; myIm[z_] := (z - Conjugate[z])/(2I) // ComplexExpand; Daniel Daniel Mazur wrote: > My apologies for asking a question *this* basic, but here goes: > Functions Im[] and Re[] don't really evaluate imaginary and real part of > analytical expressions. What do I need to do to get this done? > Thanks, > Daniel >