MathGroup Archive 2006

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

Search the Archive

All - Re: basic complex number question

Thanks to everyone, the ComplexExpand is the remedy.

If I define
 >  f[z_] := Sqrt[z]
 >  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]


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

  • Prev by Date: Hadamard Integration
  • Next by Date: RE: it seems like InequalityPlot can only handle a color for the PlotStyle... nothing more complicated... (?)
  • Previous by thread: Hadamard Integration
  • Next by thread: Re: it seems like InequalityPlot can only handle a color