Re: Difficulties with Re

*To*: mathgroup at smc.vnet.net*Subject*: [mg98365] Re: Difficulties with Re*From*: Jeremy <jackms16 at hotmail.com>*Date*: Wed, 8 Apr 2009 05:01:08 -0400 (EDT)*References*: <grcgjq$pmv$1@smc.vnet.net>

It works if you expand (x + I y)^2, as follows. Assuming[x > 0 && y > 0, Re[Exp[Expand[(x + I y)^2]]] // Simplify] I am not sure why it doesn't work if you don't expand. Re can be finicky about evaluating sometimes.