Re: Complex Numbers
- To: mathgroup at smc.vnet.net
- Subject: [mg47475] Re: Complex Numbers
- From: Jon Harrop <jdh30 at cam.ac.uk>
- Date: Wed, 14 Apr 2004 07:16:24 -0400 (EDT)
- Organization: University of Cambridge
- References: <c5gfvh$aqm$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Dana DeLouis wrote: > Just another technique since it was not mentioned... > > v = Re[ComplexExpand[Exp[a*I]*Exp[b*I]]] > > -Im[Sin[a+b]]+Re[Cos[a+b]] > > Refine[v, Element[{a, b},Reals]] > > Cos[a+b] Is this new in Mathematica 5? It doesn't work in my copy of Mathematica 4.1 for Linux... Cheers, Jon.