Hello!(adsbygoogle = window.adsbygoogle || []).push({});

I have written the code in Maple for Heat equation with Neumann B.C. Could anyone check it? I will be very grateful!

Heat equation: diff(u(x,t),t)=diff(u(x,t),x,x);

Initial condition: U(x,0)=2*x;

Boundary conditions: Ux(0,t)=0; Ux(L,t)=0;

I use centered difference approximation for the Neumann conditions. For my case:

The code:

I really do not know about my mistakes. I know how to solve it with Dirichle B.C. But I do not know how to write the code in Maple for Neumann B.C.

Thank You!

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Heat equation with Neumann B.C. in Maple

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**