MathGroup Archive 2006

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

Search the Archive

Re: basic complex number question


Daniel,

You can use the ComplexExpand function, which assumes that all the
variables in your analytic expression are real. For example,

Re[Exp[I*x]] // ComplexExpand

will give the correct result, Cos[x].

Roman.

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


  • Prev by Date: Re: FullSimplify and HypergeometricPFQ
  • Next by Date: Deformed Matrix Product
  • Previous by thread: Re: basic complex number question
  • Next by thread: Re: basic complex number question