The Crank-Nicolson method is a popular finite difference numerical method for solving partial differential equations (PDEs) – which are equations with two or more independent variables. The 1-D heat equation below has two independent variables, the time variable, t, and the spatial dimension, x. The question becomes, how does the Crank-Nicolson method to solve PDEs …
Continue reading “Crank-Nicolson VS pdepe MATLAB partial-differential equation solver”