All - Re: basic complex number question

*To*: mathgroup at smc.vnet.net*Subject*: [mg72129] All - Re: basic complex number question*From*: Daniel Mazur <mazudan at iit.edu>*Date*: Wed, 13 Dec 2006 06:39:20 -0500 (EST)*References*: <eljaq8$7fm$1@smc.vnet.net> <457D3C86.60204@gmail.com>

Thanks to everyone, the ComplexExpand is the remedy. If I define > f[z_] := Sqrt[z] then > Re[f[1 + \[ImaginaryI]*3]] just writes it up without solving, whereas > ComplexExpand[Re[f[1 + \[ImaginaryI]*3]]] actually gives the solution -------> 10^(1/4) Cos[ArcTan[3]/2] Cheers, Daniel Jean-Marc Gulliet wrote: > 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 >> > > Daniel, > > Could you, please, post at least one example (or counter example) > illustrating what you really have in mind? > > Regards, > Jean-Marc > >