Recent content by jamesponty
-
J
Crank-Nicolson method for a parabolic differential equation
Can anyone offer a suggestion please?- jamesponty
- Post #6
- Forum: Introductory Physics Homework Help
-
J
Crank-Nicolson method for a parabolic differential equation
OK, here is what I've done so far. It is only an adaption of code that we were given for the assignment. We are supposed to plot a number of representitive prolfiles for temp and use trial and error to determine a suitable value for the t interval. It also states to use N=12 steps and to advance...- jamesponty
- Post #5
- Forum: Introductory Physics Homework Help
-
J
Crank-Nicolson method for a parabolic differential equation
Thanks for your reply. I've looked through the links you gave me fairly thoroughly but still really don't know where to start from. I have sample code for Matlab to solve the problem du/dt=d^2u/dx^2 and am only meant to be able to alter this code to account for the "-2".- jamesponty
- Post #3
- Forum: Introductory Physics Homework Help
-
J
Crank-Nicolson method for a parabolic differential equation
Hi, Just wondering if somebody could point me in the right direction. I have the parabolic differential equation: du/dt=d2u/dx2 -2 I need to get a MATLAB script to solve this but I have no idea how to handle the -2. I also have no idea how to edit the MATLAB scripts I've found to...- jamesponty
- Thread
- Differential Differential equation Method
- Replies: 8
- Forum: Introductory Physics Homework Help