MATLAB: Implicit FTCS and Crank-Nicolson Scheme
Not what you're looking for? Search our solutions OR ask your own Custom question.
Write a program that solves the diffusion equation using the implicit FTCS scheme with parameters of N=61 and tau=1*10^-4,1.5*10^-4. Repeat the first part using the crank-nicolson scheme. Make a 'method' menu to run either of these scheme. Must be written in matlab.
Attached is the explicit FTCS for diffusion.
© BrainMass Inc. brainmass.com December 15, 2022, 7:42 pm ad1c9bdddfhttps://brainmass.com/computer-science/matlab/matlab-implicit-ftcs-crank-nicolson-scheme-241645
Solution Preview
The attached Matlab script executes the requested task.
It has some comments on various ...
Solution Summary
This solution provides a MATLAB program to solve the diffusion equation.
$2.49