Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11506
| From | David Bailey <dave@removedbailey.co.uk> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: How Expand? |
| Date | 2012-08-26 06:53 +0000 |
| Message-ID | <k1ch58$n3v$1@smc.vnet.net> (permalink) |
| References | <k17g9n$dre$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
On 24/08/2012 10:08, news wrote: > Hi folks, > > How can I expand the following : > > [ 1 + cos(x) + i sin(x) ]^3 > > to obtain; > > 8 cos(x/2)^3 [cos(3x/2)+ i sin(3x/2)] > > Thanks a lot. > > Max. > I addition to the comments of others, I would like to add, that if you simply want to check an identity, it is easier to use: In[9]:= ( 1 + Cos[x] + I Sin[x] )^3==8 Cos[x/2]^3 (Cos[3x/2]+ I Sin[3x/2])//Simplify Out[9]= True (I.e. simplifying the assertion that the LHS == RHS, comes back with True) This works in many situations in which it is extremely hard to force Mathematica to come up with a desired transformation spontaneously. David Bailey http://www.dbaileyconsultancy.co.uk
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
How Expand? "news" <news@newsfe13.iad.highwinds-media.com> - 2012-08-24 09:08 +0000 Re: How Expand? daniel.lichtblau0@gmail.com - 2012-08-25 08:26 +0000 Re: How Expand? "Nasser M. Abbasi" <nma@12000.org> - 2012-08-25 08:26 +0000 Re: How Expand? Costa Bravo <q13a27tt@aol.com> - 2012-08-25 08:34 +0000 Re: How Expand? David Bailey <dave@removedbailey.co.uk> - 2012-08-26 06:53 +0000
csiph-web