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 Twitter Adept Scientific on LinkedIn


The Next Steps

• Ask us a question
• Maple Product Tour
• 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 15 Professional
Maple 15 Academic
Maple 15 Student Use
What's New in Maple 15
Maple Features
Maple History
Recorded Online Seminars

MapleSim
MapleNet
Maple T.A.
BlockImporter™
Maple Toolboxes

Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

Maple Home
Maple 15 Professional
Maple 15 Academic
Maple 15 Student Use
What's New in Maple 15
Maple Features
Maple History
Recorded Online Seminars

MapleSim
MapleNet
Maple T.A.
BlockImporter™
Maple Toolboxes and
Connectors


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] Re: laplace transform and dsolve (or Heaviside)

Search email archive for  

[MUG] Re: laplace transform and dsolve (or Heaviside)
Author: Maple Group    Posted: 24/11/2000 14:23:51 GMT
>> From: Maple Group

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

From: "Edgardo S. Cheb-Terrab"
To: "MUG"
Subject: laplace transform and dsolve (or Heaviside)
Date: Mon, 20 Nov 2000 17:00:07 -0800

Hi Brian,

| > ...
| > dsolve({(D@@2)(y)(t)+y(t)=df(t),y(0)=1,D(y)(0)=4},y(t));
| Error, (in limit) wrong number (or type) of parameters
| in function indets

The problem you are showing looks to me like a bug in limit.

One way or the other, you are free of this problem by installing "ODEtools",
which automatically updates dsolve and pdsolve subroutines to the latest
version. The update includes the bug fixing of all DE-solving bugs or problems
reported up-to-today - so that you have Maple's dsolve and pdsolve "free of
known bugs". The update also brings a bunch of extra functionality and new
solving methods running automatically on background, or directly at user-level,
as for instance the exact solving of "PDE systems" by Maple's pdsolve.

In the case of the problem you show, after installing ODEtools you have the
following. First the lines you run before the problem turns apparent:

> df:=t->sin(t)-sin(t)*Heaviside(t-9*Pi/2);
> dsolve({(D@@2)(y)(t)+y(t)=df(t),y(0)=1,D(y)(0)=4},y(t));
> with(inttrans):
> left:=expand(laplace( (D@@2)(w)(T)+w(T),T,s));
> right:=laplace(drive(T),T,s);

Now this works fine:

> ics := y(0)=1,D(y)(0)=4;

ics := y(0) = 1, D(y)(0) = 4

> ode := `@@`(D,2)(y)(t)+y(t) = sin(t)-sin(t)*Heaviside(t-9/2*Pi):
> ans := dsolve({ode,ics},y(t));

ans := y(t) = - 1/2 cos(t) t + 1/2 cos(t) Heaviside(t - 9/2 Pi) t

- 9/4 cos(t) Heaviside(t - 9/2 Pi) Pi + cos(t) + 9/2 sin(t)

This solution checks OK

> odetest(ans,ode);
0

and the ics are satisfied correctly

> limit(ans,t=0);
y(0) = 1

> limit( diff(ans,t) ,t=0);
D(y)(0) = 4

The ODEtools library is available at http://lie.uwaterloo.ca/odetools.htm

Hope this is of use
Edgardo
___________________________________________________________________________
Edgardo S. Cheb-Terrab http://lie.uwaterloo.ca/ecterrab
Theoretical Physics Department UERJ,Brazil
Centre for Experimental and Constructive Mathematics SFU, Canada
___________________________________________________________________________
-- "Whoever has the most fun wins" --




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

Date: Tue, 21 Nov 2000 13:25:14 +0100
From: Preben Alsholm
To:
Subject: laplace transform and dsolve (or Heaviside)

Your problem seems to stem from assigning to the name 'right', as the following
lines suggest. The word 'right' is used in Maple (in limits e.g.).

> restart:
> df:=t->sin(t)-sin(t)*Heaviside(t-9*Pi/2):
> right:=bla:
> dsolve({(D@@2)(y)(t)+y(t)=df(t),y(0)=1,D(y)(0)=4},y(t));

Error, (in limit) wrong number (or type) of parameters in function indets

--

Preben Alsholm
IFAK, DTU
Technical University of Denmark




[View Complete Thread]



Previous by date: [MUG] Re: NEWBY with problems with Maple 6.01 and Linux, Maple Group
Next by date: [MUG] Stopping integration due to what?, Angelique Lamour
Previous thread: [MUG] How do I get Maple output into a report?,  Larry Fasnacht
Next thread: [MUG] Stopping integration due to what?, Angelique Lamour



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 15 & MapleSim 5 Professional Brochure
Maple 15 Academic Datasheet
Maple 15 & MapleSim 5 Brochure - Academic Brochure
Maple 15 New Features data sheet
Maple 15 New Features - Flyer
Maple Whitepaper: Driving Innovation - How mathematical modeling and optimisation increase efficiency and productivity in vehicle design.
MapleSim Whitepaper: Technological Superiority in Multi-Domain Physical Modeling and Simulation

Latest Downloads

Maple Case Study: The Changing Face of Robotics
Maple Application Brief - Analyse the Path of a Liquid-Handling Robot
Maple Player for iPad - App
Maple Player for iPad - Datasheet
Case Study - Multi-Domain Modelling Critical to Unmanned Vehicle Designs

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

NASA’s Jet Propulsion Laboratory begins widespread adoption of Maplesoft technology
NASA’s Jet Propulsion Laboratory begins widespread adoption of Maplesoft technology
Latest release marks the 10th anniversary of Maple T.A.
Maple Case Study: The Changing Face of Robotics
Maple Application Brief - Analyse the Path of a Liquid-Handling Robot
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