Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15572 > unrolled thread
| Started by | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| First post | 2013-10-01 10:24 +0000 |
| Last post | 2013-10-01 10:24 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: How to semi-ExpToTrig Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2013-10-01 10:24 +0000
| From | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| Date | 2013-10-01 10:24 +0000 |
| Subject | Re: How to semi-ExpToTrig |
| Message-ID | <l2e7tj$ffs$1@smc.vnet.net> |
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 top | Article view | comp.soft-sys.math.mathematica
csiph-web