Re: How to semi-ExpToTrig
- To: mathgroup at smc.vnet.net
- Subject: [mg131764] Re: How to semi-ExpToTrig
- From: "Nasser M. Abbasi" <nma at 12000.org>
- Date: Mon, 30 Sep 2013 05:16:55 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
- References: <l2b1jh$6rp$1@smc.vnet.net>
- Reply-to: nma at 12000.org
On 9/30/2013 12:18 AM, sam.takoy at yahoo.com wrote: > Hi, > > Could I get Mathematica to "simplify" an expression, such as > > E^(1 + x) + E^(1 - x) > > to 2E*Cosh[x] ? > > Thanks! > > Sam > -------------- r = E^(1 + x) + E^(1 - x); r = E ExpToTrig[Collect[r1, E]/E] -------------- 2*E*Cosh[x] --Nasser