1
$\begingroup$

I'm brand new to Mathematica. I am trying to solve a heat equation problem, but I keep getting back the input on the output line.

The problem:

enter image description here

In:

heatequation = D[u[x, t], t] == 5*D[u[x, t], {x, 2}] + D[u[x, t], x] - u[x, t];
boundarycondition = {Derivative[1, 0][u][0, t] == 0, u[1, t] == 0};
initialcondition = u[x, 0] == 3;
sol = DSolve[{heatequation, initialcondition, boundarycondition}, u [x, t], {x, t}]

Out:

DSolve[{(u^(0,1))[x,t]==-u[x,t]+(u^(1,0))[x,t]+5 (u^(2,0))[x,t],u[x,0]==3,{(u^(1,0))[0,t]==0,u[1,t]==0}},u[x,t],{x,t}]

Example: https://blog.wolfram.com/2016/01/07/new-in-the-wolfram-language-symbolic-pdes/

$\endgroup$
3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.