Question: hello, i have problem with my matlab code for the 2-D heat equation solution with crank-nicolson+ADI my code goes to NaN after few time steps/

hello, i have problem with my matlab code for the 2-D heat equation solution with crank-nicolson+ADI my code goes to NaN after few time steps/ a. i want to know if my matrix is correct (the coeficiants) b. i need help to define the correct boundry and initial conditions c. are the parameters (grid; constants )make the problems? please help, im stuck
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
