MathGroup Archive 2004

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

Search the Archive

Re: Complex Numbers


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