MathGroup Archive 2007

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

Search the Archive

Re: How to get the real and imaginary parts of a power series?


Hi,

try

ComplexExpand[Re[s] // Normal]

Regards
   Jens

Gordon Smith wrote:
> Suppose s = Series[Cosh[(x + I y)u, {u,0,2}]. How can I get the real part 1 + 1/2(x^2 - y^2) u^2 + O(u^3) and the imaginary part x y u^2 + O(u^3) ? I thought ComplexExpand[Re[s]] should give me the real part of s, but it just gives me s unchanged. (Mathematica newbie here!)
> 


  • Prev by Date: frameticks and LogScale
  • Next by Date: Re: Inverse Tangent function
  • Previous by thread: Re: How to get the real and imaginary parts of a power
  • Next by thread: Re: How to get the real and imaginary parts of a power series?