Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me expand a multivariable differential equation in maple

Status
Not open for further replies.

billano786

Super Member
Joined
Apr 26, 2001
Messages
141
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
755
I wish to expand a multivariable differential equation in maple, the code is below

f:=sin(x(t)+y(t))+x(t)+diff(x(t),t);
/d \
f := sin(x(t) + y(t)) + x(t) + |-- x(t)|
\dt /

> mtaylor(f,{x(t)=1,y(t)=-2},5);
Error, (in mtaylor) invalid 2nd argument (expansion point)

Can any one help in writing the correct code?
 

electricpete

Member level 2
Joined
Jun 4, 2006
Messages
45
Helped
10
Reputation
20
Reaction score
4
Trophy points
1,288
Activity points
1,624
Re: Need help in maple

I'm no expert in multivariate Taylor expansions. But I think the maybe the diff(x(t),t) is giving problems... perhaps it is an ill-posed problem.

If you get rid of that, it works.
readlib(mtaylor):
f:=sin(x+y)+x+z;
mtaylor(f,[x=1,y=-2],5);
returns a result.
 

billano786

Super Member
Joined
Apr 26, 2001
Messages
141
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
755
Re: Need help in maple

I know that by removing the derivative i can get expansion, however, my problem is to expand a multivariable differential equation.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top