MathGroup Archive 2004

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

Search the Archive

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.


  • Prev by Date: Programmer/Modeller Wanted
  • Next by Date: DSOLVE in 5.01 ??
  • Previous by thread: Re: Complex Numbers
  • Next by thread: FindRoot