Question
Write a matlab code for the following... apply Dirichlet boundary conditions. Thanks! always unstabie. fol 9. The DuFort-Prankel scheme for solving the diffusion equation uses discretization: h2 2T Note that this is a three time-level scheme, that is, the method uses 7m-1, so the scheme is not self-starting. Write a program that uses this scheme solve the diffusion problem discussed in this section. Use the FTCS scheme first step to get it started. Try a variety of values for ? and show that the method is unconditionally stable but that the accuracy of the solution decreases with increasing T. Computerj on the
Explanation / Answer
Write a matlab code for the following... apply Dirichlet boundary conditions. Th