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
• Find out about Online Training
• Download a Brochure
• Request a Brochure
• Download a Demo
• Request a Demo
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 11 Professional
Maple 11 Academic
Maple 11 Student Use
Recorded Online Seminars
FREE Training Resources


MapleNet
Maple T.A.
MapleConnect
BlockImporter for Simulink
BlockBuilder for Simulink
Maple Toolboxes
Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

View Maple 10 in Action
Product Comparison Chart

Latest Information

New Features: Professional
New Features: Academic
The Maple Reporter
The Maple Reporter Online
Numerical Algorithms Group
(NAG)


Service & Support

Maple 10 Training Videos
MaplePrimes, blogs, forums
Elite Maintenance Program
Application Centre
Powertools
Maple User Group (MUG)
Join the Maple User Group
(MUG)

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] maximize

Search email archive for  

[MUG] maximize
Author: Dragomir Deltchev    Posted: Fri, 8 Nov 2002 10:06:07 +0100

>> From: "Dragomir Deltchev" "Dragomir.Deltchev"

Hello everyone

Could someone be so nice to explain me why I cant find the maximum of

-cos(2*t)-t*sin(2*t)+1

with

maximize(-cos(2*t)-t*sin(2*t)+1,t=0..Pi);

I am always becoming 0 but it obviously not true.

Thanks in advance.

Dragomir Deltchev

[MUG] Re: maximize
Author: Maple User Group    Posted: Fri, 15 Nov 2002 10:48:40 -0500

>> From: Maple User Group "maple_gr"

| >> From: "Dragomir Deltchev" "Dragomir.Deltchev"
| Could someone be so nice to explain me why I cant find the maximum of
| -cos(2*t)-t*sin(2*t)+1
| with
| maximize(-cos(2*t)-t*sin(2*t)+1,t=0..Pi);

-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Mon, 11 Nov 2002 16:29:51 -0800 (PST)
From: Robert Israel "israel"
To: "Maple-List (E-Mail)" "maple-list"
Subject: maximize

Ultimately maximize is based on the standard first-year calculus method:
candidates for the maximum are the endpoints and the zeros of the
derivative. In this case solve can't find the zeros of the derivative
(except for 0). This is because AFAIK there is no "closed-form"
expression for the maximum. You might try gmax from my Maple Advisor
Database <http://www.math.ubc.ca/~israel/advisor>.

> gmax(-cos(2*t) + t*sin(2*t) + 1, t = 0 .. Pi);

3.410286238

Robert Israel "israel"
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia
Vancouver, BC, Canada V6T 1Z2


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

From: "Daniel Willard" "willardd"
To: "maple-list"
Subject: maximize
Date: Mon, 11 Nov 2002 20:59:05 -0500

Have you tried plotting it?


-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Tue, 12 Nov 2002 14:07:34 +0100
From: Preben Alsholm "P.K.Alsholm"
To: "maple-list"
Subject: maximize

Maple cannot solve tan(z)=z which is necessary in order to find the
maximum. So maximize ought to return unevaluated according to the help
page (which talks about minimize):
"If minimize cannot find the infimum, it returns an unevaluated function
call."
This deficiency has been known for quite some time.

You can find a numerical approximation by using infnorm from the
numapprox-package:

numapprox[infnorm](-cos(2*t)-t*sin(2*t)+1,t=0..Pi,'pt');
3.410286238

> pt;

2.246703359

Preben Alsholm
Department of Mathematics
Technical University of Denmark



-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-

Date: Mon, 11 Nov 2002 12:22:43 -0400
From: C W "sylvester7"
To: "maple-list"
Subject: maximize

Hi !

"maximize" function looks for explicit solutions. That is in this
case it finds local extrema by fsolving x-tan(x) and finds 1 value
(what version do You have ?) and so Your result follows...

This example is best solved manually


Chris

Previous by date: [MUG] Can Maple krack this kernel?,  NS Jones, Mathematics
Next by date: [MUG] Help with dsolve (Maple 6 vs Maple 7), Jim Shoemaker
Previous thread: [MUG] solve function's behavior,  Huy Cuong Nguyen
Next thread: [MUG] Help with dsolve (Maple 6 vs Maple 7), Jim Shoemaker



Ready to buy?

Maple - single user licence
Add to shopping basket
$ 1,895.00
Upgrade to Maple 12 from v11
Add to shopping basket
$ 995.00
Upgrade to Maple 12 from v10 & below
Add to shopping basket
$ 1,395.00

Featured Downloads

What's New in Maple 11 for Professionals
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

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

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