Re: Difficulties with Re

*To*: mathgroup at smc.vnet.net*Subject*: [mg98339] Re: [mg98349] Difficulties with Re*From*: Ailing Zhao <ailingz at wolfram.com>*Date*: Wed, 8 Apr 2009 02:45:39 -0400 (EDT)*References*: <200904060905.FAA26352@smc.vnet.net>

Try this: ComplexExpand[Re[Exp[x + I y]]] ComplexExpand[Re[Exp[(x + I y)^2]]] Thanks, Ailing Aaron Fude wrote: > Hi, > > Of the following two expressions, the first "works", while the second > doesn't. How does one make it work? > > Assuming[x > 0 && y > 0, Re[Exp[x + I y]] // Simplify] > Assuming[x > 0 && y > 0, Re[Exp[(x + I y)^2]] // Simplify] > > Many thanks in advance, > > Aaron > >

**References**:**Difficulties with Re***From:*Aaron Fude <aaronfude@gmail.com>