Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15572
| From | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: How to semi-ExpToTrig |
| Date | 2013-10-01 10:24 +0000 |
| Message-ID | <l2e7tj$ffs$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
Hi, Could I get Mathematica to "simplify" an expression, such as E^(1 + x) + E^(1 - x) to 2E*Cosh[x] ? Thanks! Sam Hi, try this: expr=E^(1+x)+E^(1-x); expr // FullSimplify This gives your desired result. This also: expr /. Plus[Power[E, Plus[a_, Times[-1, x]]], Power[E, Plus[a_, Times[1, x]]]] -> 2 E^a*Cosh[x] Have fun, Alexei Alexei BOULBITCH, Dr., habil. IEE S.A. ZAE Weiergewan, 11, rue Edmond Reuter, L-5326 Contern, LUXEMBOURG Office phone : +352-2454-2566 Office fax: +352-2454-3566 mobile phone: +49 151 52 40 66 44 e-mail: alexei.boulbitch@iee.lu
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: How to semi-ExpToTrig Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2013-10-01 10:24 +0000
csiph-web