Adept Scientific - English
The world's best software and hardware for research, science and engineering.
flag arrow
clearclear

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKdedksvnofi
Home
Products
Training
Events
 Buy Online
Downloads
Academic Discounts
Support
My Adept
International |  About Us |  Adept Scientific Blog |  Contact Us |  Press Room |  Jobs
Adept Scientific on Facebook Adept Scientific on Twitter Adept Scientific on YouBube Adept Scientific on LinkedIn


The Next Steps

• Ask us a question
• Watch Maple Video Demonstrations
• Buy Maple Now
• View Maple Pricing
• Download a Brochure
• Request a Brochure
• Request an Evaluation
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 16 Overview
Maple 16 Professional
Maple 16 Academic
Maple 16 Student Use
What's New in Maple 16
Maple New Features
Datasheet

Maple History
Recorded Online Seminars

MapleSim
MapleNet
Maple T.A.
BlockImporter™
Maple Toolboxes

Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

Latest Information

New Features: Professional
New Features: Academic
Maple Features
The Maple Reporter Online

Service & Support

Maple Primes
blogs, forums etc

Elite Maintenance Program
Application Centre
Powertools
Search the Knowledge Base
Technical Support request

List Archives >  Maple User Group List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[MUG] Combining trigonometrical expressions

Search email archive for  

[MUG] Combining trigonometrical expressions
Author: Michael Brennan    Posted: 03/03/2000 13:48:33 GMT
>> From: (Michael Brennan)

Hi Muggers,

The symmetry from the binomial theorem suggests that cos(17x) and
sin(17x) are both described by identical polynomials albeit that the
cos(x) and sin(x) are switched in these polynomials.
Below I have tried to show that once expanded they are coincident when
considered as functions of cos(x) and sin(x) alone i.e the generating
function would be the same.
The problem is that while I get an expression for the cos(17x) in terms
of cos(x), the sin(17x) has mixed terms ...how can I get the sin(17x) in
terms of just sin(x). TIA.

Michael.
> eq1:=expand((cos(x)+I*sin(x))^17);

17 16 2 15
eq1 := cos(x) + 17 I sin(x) cos(x) - 136 sin(x) cos(x)

3 14 4 13
- 680 I sin(x) cos(x) + 2380 sin(x) cos(x)

5 12 6 11
+ 6188 I sin(x) cos(x) - 12376 sin(x) cos(x)

7 10 8 9
- 19448 I sin(x) cos(x) + 24310 sin(x) cos(x)

9 8 10 7
+ 24310 I sin(x) cos(x) - 19448 sin(x) cos(x)

11 6 12 5
- 12376 I sin(x) cos(x) + 6188 sin(x) cos(x)

13 4 14 3
+ 2380 I sin(x) cos(x) - 680 sin(x) cos(x)

15 2 16 17
- 136 I sin(x) cos(x) + 17 sin(x) cos(x) + I sin(x)

> a:=evalc(Re(eq1));

17 2 15 4 13
a := cos(x) - 136 sin(x) cos(x) + 2380 sin(x) cos(x)

6 11 8 9
- 12376 sin(x) cos(x) + 24310 sin(x) cos(x)

10 7 12 5
- 19448 sin(x) cos(x) + 6188 sin(x) cos(x)

14 3 16
- 680 sin(x) cos(x) + 17 sin(x) cos(x)

> simplify(a);

17 15 13
65536 cos(x) - 278528 cos(x) + 487424 cos(x)

11 9 7
- 452608 cos(x) + 239360 cos(x) - 71808 cos(x)

5 3
+ 11424 cos(x) - 816 cos(x) + 17 cos(x)

> b:=evalc(Im(eq1));

16 3 14
b := 17 sin(x) cos(x) - 680 sin(x) cos(x)

5 12 7 10
+ 6188 sin(x) cos(x) - 19448 sin(x) cos(x)

9 8 11 6
+ 24310 sin(x) cos(x) - 12376 sin(x) cos(x)

13 4 15 2 17
+ 2380 sin(x) cos(x) - 136 sin(x) cos(x) + sin(x)

> simplify(b);

16 14
65536 sin(x) cos(x) - 245760 sin(x) cos(x)

12 10
+ 372736 sin(x) cos(x) - 292864 sin(x) cos(x)

8 6
+ 126720 sin(x) cos(x) - 29568 sin(x) cos(x)

4 2
+ 3360 sin(x) cos(x) - 144 sin(x) cos(x) + sin(x)

>

[MUG] Re: Combining trigonometrical expressions
Author: Maple Group    Posted: 09/03/2000 13:41:16 GMT
Subject: Combining trigonometrical expressions

The following Maple session shows how you can control the simplification
process in this type of case.

---------------------------------------------------------------------------
|\^/| Maple V Release 5.1 (University of Waterloo)
._|\| |/|_. Copyright (c) 1981-1998 by Waterloo Maple Inc. All rights
\ MAPLE / reserved. Maple and Maple V are registered trademarks of
<____ ____> Waterloo Maple Inc.
| Type ? for help.
#
#

[MUG] Re: Combining trigonometrical expressions
Author: Michael Monagan    Posted: 10/03/2000 08:05:55 GMT
>> From: Michael Monagan

Much simpler is

algsubs( cos(x)^2=1-sin(x)^2, expression );

Mike

Previous by date: [MUG] partition of a set,  Pavel Gyrya
Next by date: [MUG] Re: Advice about book on Maple,  Paul H Ware
Previous thread: [MUG] Windows 2000 and Maple VR5, Ross Taylor
Next thread: [MUG] Advice about book on Maple, Jml



Ready to buy?

For more pricing information:
Visit our webstore, call us on +1 800 724 8380 or email us at info@adeptscience.com

Featured Downloads

Maple 16 & MapleSim 5 Professional Brochure
Maple 16 Academic Datasheet
Maple 16 & MapleSim 5 Academic Brochure
Maple 16 What is New datasheet
Maple 16 Professional Datasheet
Maple Whitepaper: Driving Innovation - How mathematical modeling and optimisation increase efficiency and productivity in vehicle design.
MapleSim Whitepaper - Technological Superiority in Multi-Domain Physical Modelling and Simulation

Latest Downloads

Maple 16 Programming Guide
Maple 16 User Manual
Maple 16 Academic Datasheet
Maple 16 Professional Datasheet
Maple 16 & MapleSim 5 Academic Brochure

Product Reviews

"Without the Maple software, we would have to spend weeks generating the equations of motion for every experiment. Then the chances that we did it right would basically be near zero. There would always be a mistake somewhere. It is very difficult to set up a dynamic motion model by hand."
- Jean-Claude PiedBeouf, Ph.D Manager of Robotics, Canadian Space Agency

"Its very good - highly accurate and easy to use. The speed of Maple allows me to change equations and quickly reintegrate them into the application, so more possibilities can be explored to achieve the precise effect desired."
Shawn Neely, Senior R & D Director for PDI/Dreamworks

Latest News

Connectivity to major CAD systems extended in Maple 16
MapleSim Breaks New Ground in Hardware-in-the-Loop real-time simulation for planetary rovers
MapleSim Breaks New Ground in Hardware-in-the-Loop real-time simulation for planetary rovers
Maths software usability reaches new heights with Maple 16
"MapleSim was an eye-opener for us.
adept

Top of the Page

Popular Links: ChemDraw | ChemOffice | Data Acquisition | Data Analysis | EndNote | Maple | MapleSim | Mathcad | MathType | Quality Analyst | Reference Manager | VisSim

EU ePrivacy Directive | Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2012, Adept Scientific plc.
Site designed and maintained by Lyndon Ash

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055