MathGroup Archive 2003

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

Search the Archive

Re: exponentials to sines and cosines

  • To: mathgroup at smc.vnet.net
  • Subject: [mg42655] Re: [mg42603] exponentials to sines and cosines
  • From: Selwyn Hollis <selwynh at earthlink.net>
  • Date: Sat, 19 Jul 2003 03:19:39 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

On Friday, July 18, 2003, at 05:24  AM, Will Self wrote:

> 1.  How do I get Mathematica to rewrite (-1)^(1/3) in standard 
> rectangular
> form?

(-1)^(1/3)//ComplexExpand

or

(-1)^(1/3)//ExpToTrig


>
> 2.  The following function was returned by Mathematica as the solution 
> of a
> differential equation.  This function is real.  How do I get 
> Mathematica to
> write it in terms of Sines and Cosines?
>
> f[x_]=(1 + E^(x + (-1)^(1/3)*x) + E^((-1)^(1/3)*x + (-1)^(2/3)*x))/
>          E^((-1)^(1/3)*x)


Same answer, essentially:
Hit it with //ComplexExpand//Simplify  or with  
//ExpToTrig//FullSimplify .


-----
Selwyn Hollis
http://www.math.armstrong.edu/faculty/hollis


  • Prev by Date: Re: exponentials to sines and cosines
  • Next by Date: Nontrivial homogeneous Laplace problem
  • Previous by thread: Re: exponentials to sines and cosines
  • Next by thread: Re: exponentials to sines and cosines