Solving heat diffusion equation?

Posted 4 months ago
535 Views
|
|
0 Total Likes
|
 My code wont seem to work when I use DSolve to solve the heat diffusion equation. It is a PDE and I can't find a way to solve it. The equation is as follows: alpha * Txx = Ttwhere Txx is the second derivative of Temperature with respect to x, Tt is the first derivative of Temperature with respect to time, and alpha is a constant.When I run my code, DSolve just spits out the same thing I entered. Below is my code, let me know how to get it working. Thanks!
 In the future I suggest you put copyable code into your posts to make it easier to help you, otherwise I needed to manually type it in.inf->Infinity is the issue pde=a D[temp[x,t],{x,2}]-D[temp[x,t],t]==0; DSolve[{ pde, temp[0,t]==0, temp[Infinity,t]==0, temp[x,0]==0, (D[temp[x,t],t]/.t->0)==0 },temp[x,t],{x,t}]