Adept Scientific - English
The world's best software 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  
UKusdedksvnofi
Home
Products
Training
Consultancy
 Buy Online
Downloads
Education
Support
My Adept
International |  About Us |  Contact Us |  Press Room |  Jobs


The Next Steps

• Ask us a question
• Maple Product Tour
• Buy Maple Now
• View Maple Pricing
• Download a Brochure
• Request a Brochure
• Download a Demo
• Request a Demo
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 12 Professional
Maple 12 Academic
Maple 12 Student Use
Recorded Online Seminars
FREE Training Resources
Maple Application Briefs
Maple Adoption Program

MapleNet
Maple T.A.
MapleConnect
BlockImporter for Simulink
BlockBuilder for Simulink
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
Numerical Algorithms Group
(NAG)


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] Re: Winding Numbers and The Fundamental Theorem of Algebra

Search email archive for  

[MUG] Re: Winding Numbers and The Fundamental Theorem of Algebra
Author: Les Wright    Posted: Mon, 3 Dec 2001 17:33:30 -0500

>> From: Les Wright "leslie_wright"

Thank you for directing me to the Nyquist worksheet. Most of the
treatment is at my novice level, and I find it helpful.

But I have found an error, or is it a bug?

The following should give 1, since it is the winding number of the unit circle
z=e^it about the point (1 + i)/2, which is clearly inside the circle. However:

> q1 := (1/2/Pi/I)*Int(diff(Z,t)/(Z-(1+I)/2),t=0..2*Pi);
2 Pi
/
| I exp(I t)
I | ---------------------- dt
| exp(I t) - 1/2 - 1/2 I
/
0
q1 := - 1/2 -----------------------------------
Pi

> value(q1);

0

Yet, when I subject the integrand first to evalc(), we get the right answer:

> q1 := (1/2/Pi/I)*Int(evalc(diff(Z,t)/(Z-(1+I)/2)),t=0..2*Pi);

2 Pi
/
| sin(t) (cos(t) - 1/2) cos(t) (sin(t) - 1/2)
q1 := - 1/2 I | - --------------------- + ---------------------
| %1 %1
/
0

/cos(t) (cos(t) - 1/2) sin(t) (sin(t) - 1/2)\
+ I |--------------------- + ---------------------| dt/Pi
\ %1 %1 /

2 2
%1 := (cos(t) - 1/2) + (sin(t) - 1/2)

> value(q1);

1

I am using MVR4, that oldie but goodie, and the worksheet was clearly
written more recently than that, so maybe the newer versions get it
right?

I do find this disconcerting! If I didn't know the right answer in
advance, I would have trusted Maple's original answer.

Thanks,
Les

[View Complete Thread]



Previous by date: [MUG] Re: Vector Valued Functions, Robert Israel
Next by date: [MUG] Multiply Columns.,  Jason C Leach
Previous thread: [MUG] extracting a subvector from a vector,  Winfried Auzinger
Next thread: [MUG] Multiply Columns.,  Jason C Leach



Ready to buy?

Maple Professional
Add to shopping basket
$ 2,274.00
Upgrade to Maple 13 from v11 or v10
Add to shopping basket
$ 1,374.00
Maple Professional - for concurrent use
Add to shopping basket
$ 4,548.00

Featured Downloads

Maple White Paper: Technical Knowledge - An Asset You Can Afford to Lose?
Maple in Electronics Application Pack
Maple in Robotics & Aerospace Application Pack
Maple in Finance Application Pack

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
adept

Top of the Page

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

Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2009, Adept Scientific plc.
Site designed and maintained by Adeptise

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