Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11490

Re: How Expand?

From daniel.lichtblau0@gmail.com
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How Expand?
Date 2012-08-25 08:26 +0000
Message-ID <k1a27b$ibm$1@smc.vnet.net> (permalink)
References <k17g9n$dre$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


On Friday, August 24, 2012 4:08:07 AM UTC-5, 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.

This will come pretty close.

In[6]:= ee = 1+Cos[x]+I*Sin[x];

In[7]:= InputForm[TrigFactor[TrigExpand[ee]]]

Out[7]//InputForm= Cos[x/2]*(2*Cos[x/2] + (2*I)*Sin[x/2])

Daniel Lichtblau
Wolfram Research

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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