Question: problem with PDE

what's the problem with PDE below? tnx for help


 

restart:

PDE:=diff(u(x,t),t)=k*diff(u(x,t),x$2)-h*u(x,t);

diff(u(x, t), t) = k*(diff(diff(u(x, t), x), x))-h*u(x, t)

(1)

IBC := {u(-Pi,t)=u(Pi,t), (D[1](u))(-Pi, t) = (D[1](u))(Pi, t),u(x,0)=sin(x)};

{u(x, 0) = sin(x), u(-Pi, t) = u(Pi, t), (D[1](u))(-Pi, t) = (D[1](u))(Pi, t)}

(2)

pdsolve(PDE,IBC);

Error, (in pdsolve/sys) too many arguments; some or all of the following are wrong: [{u(x, t)}, {u(x, 0) = sin(x), u(-Pi, t) = u(Pi, t), (D[1](u))(-Pi, t) = (D[1](u))(Pi, t)}]

 

 


 

Download PDE_problem.mw

Please Wait...