MathGroup Archive 2013

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

Search the Archive

Re: How to semi-ExpToTrig


Am Montag, 30. September 2013 07:18:41 UTC+2 schrieb sam.... at yahoo.com:
> Hi,
> 
> 
> 
> Could I get Mathematica to "simplify" an expression, such as
> 
> 
> 
> E^(1 + x) + E^(1 - x)
> 
> 
> 
> to 2E*Cosh[x] ?
> 
> 
> 
> Thanks!
> 
> 
> 
> Sam

In[2]:= f = E^(1 + x) + E^(1 - x)

Out[2]= E^(1 - x) + E^(1 + x)

In[6]:= Simplify[ExpToTrig[f]]

Out[6]= 2*E*Cosh[x]

Regards,
Wolfgang



  • Prev by Date: Re: How to semi-ExpToTrig
  • Previous by thread: Re: How to semi-ExpToTrig