Re: Expanding Trig Power Identities
- To: mathgroup at smc.vnet.net
- Subject: [mg30417] Re: Expanding Trig Power Identities
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Fri, 17 Aug 2001 03:09:55 -0400 (EDT)
- References: <9ld1ej$2g5$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Matthias, It appears that TrigReduce need exact input: it works if we replace .5 in your example with 1/2. -- Allan --------------------- Allan Hayes Mathematica Training and Consulting Leicester UK www.haystack.demon.co.uk hay at haystack.demon.co.uk Voice: +44 (0)116 271 4198 Fax: +44 (0)870 164 0565 <Matthias.Bode at oppenheim.de> wrote in message news:9ld1ej$2g5$1 at smc.vnet.net... > Dear Colleagues, > > I tried Bob Hanlon's TrigReduce Table changing n from "{n, 4}" to "{n, 1, 3, > 0.5}": > > Table[{y = Sin[a]*Sin[b]^n, "=", TrigReduce[y]}, {n, 1, 3, 0.5}] // > TableForm > > and neither the integer nor the non-integer exponent expressions evaluated > whereas the original example "{n, 4}" evaluates just fine. Why? > > Best regards, > > Matthias Bode > Sal. Oppenheim jr. & Cie. KGaA > Koenigsberger Strasse 29 > D-60487 Frankfurt am Main > GERMANY > Tel.: +49(0)69 71 34 53 80 > Mobile: +49(0)172 6 74 95 77 > Fax: +49(0)69 71 34 63 80 > E-mail: matthias.bode at oppenheim.de > Internet: http://www.oppenheim.de > > > > > > -----Ursprungliche Nachricht----- > Von: BobHanlon at aol.com [mailto:BobHanlon at aol.com] > Gesendet: Sonntag, 12. August 2001 08:30 > An: mathgroup at smc.vnet.net > Betreff: Expanding Trig Power Identities > > > Table[{y = Sin[a]*Sin[b]^n, "=", TrigReduce[y]}, {n, 4}] // TableForm > > Table[{y = Cos[a]*Cos[b]^n, "=", TrigReduce[y]}, {n, 4}] // TableForm > > > Bob Hanlon > Chantilly, VA USA >