•  
  •  
 

Abstract

This paper presents the implementation of numerical and analytical solutions of some of the classical partial differential equations using Excel spreadsheets. In particular, the heat equation, wave equation, and Laplace’s equation are presented herein since these equations have well known analytical solutions. The numerical solutions can be easily obtained once the differential equations are discretized via finite differences and then using cell formulas to implement the resulting recursive algorithms and other iterative methods such as the successive over-relaxation (SOR) method. The graphing capabilities of spreadsheets can be exploited to enhance the visualization of the solutions to these equations. Furthermore, using Visual Basic for Applications (VBA) can greatly facilitate the implementation of the analytical solutions to these equations, and in the process, one obtains Fourier series approximations to functions governing initial and/or boundary conditions.

PDEs.xlsm (2518 kB)

Share

COinS