Message Boards Message Boards


Error in 1D diffusion equation plot

Posted 2 months ago
1 Reply
2 Total Likes

Hello. I´ve been trying to fix the code, but I couldn't find what is the problem. As you might see, I want to plot the solution for this PDE, but it's nowhere to be found. Just the coordinate axes. I guess the code for the graph is correct, but something is missing. I will grateful if you can help me out. Thanks in advance.

Posted 2 months ago

I think you just need a space between the Pi and x terms inside the Sin function.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract