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] Re: Integration problem

Search email archive for  

[MUG] Re: Integration problem
Author: Maple User Group    Posted: Fri, 6 Dec 2002 18:00:16 -0500 (

>> From: Maple User Group "maple_gr"

On Tue, 3 Dec 2002, Benj FitzPatrick wrote:
| I am trying to numerically integrate a certain
| function, say f(x,y). It turns out that x and y are
| functions of t, so the overall integration is done
| with respect to t. Is there any way to do the
| integration and place constraints on x or y (I want to
| be able to have a max value for x that is used when x
| exceeds the limit).

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

Date: Wed, 4 Dec 2002 14:58:14 -0500 (EST)
From: Carl Devore "devore"
To: "maple-list"
Subject: Integration problem


Use `min`. For example,
f:= (x,y)-> x*y:
x:= exp(t):
y:= GAMMA(t):
Int(f(min(1000,x),min(2000,y)), t= 0..100);
evalf(%);



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

From: "borisal" (Boris Alekseev)
To: "maple-list"
Date: Thu, 05 Dec 2002 22:24:58 +0300
Subject: Integration problem

To insert a constraint on maximal value M of variable x use just min(x,M).

f:=(x,y)->x+y; x:=t; y:=t^2; int(f(min(x,M),y),t=a..b);

f := (x, y) -> x + y

x := t

2
y := t


/{ 3 2 \
|{ 1/3 b + 1/2 b b <= M|
|{ |
|{ 3 2 |
\{ 1/3 b + b M - 1/2 M M < b /

/{ 3 2 \
|{ - 1/3 a - 1/2 a a <= M|
+ |{ |
|{ 3 2 |
\{ - 1/3 a - a M + 1/2 M M < a /

In general situation with some region D on the plane (x,y) use characteristic function g(x,y) of region D, which is equal 1
within D and 0 otherwise, to form an integrant f(x,y)*g(x,y) with support on D and invoke int(f(x,y)*g(x,y),t=-infinity..infinity)


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

From: "Dr Francis J. Wright" "F.J.Wright"
To: "benjfitz"
Subject: Integration problem
Date: Fri, 6 Dec 2002 14:18:32 -0000

Can't you just integrate f(min(x,xmax),y) instead of f(x,y)?

Francis

[View Complete Thread]



Previous by date: [MUG] Re: Import RTF files into maple.,  Dr Francis J Wright
Next by date: [MUG] help! maple won't link external library, Richard Kaye
Previous thread: [MUG] system of differential equations :(, Eugene Makarov
Next thread: [MUG] help! maple won't link external library, Richard Kaye



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

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