This document contains code for three different programs to solve the 2D heat equation using finite difference methods:
1. FTCS - Explicit forward time central space method. It takes input parameters, initializes the grid, applies boundary conditions, and runs a time stepping loop to march the solution forward in time.
2. FTCS Steady State - Similar to FTCS but uses residual to iterate the solution to steady state.
3. ADI - Alternating direction implicit method. It factorizes the equations and solves them in alternating x-y directions within each time step for increased stability over explicit methods. Includes a subroutine for tridiagonal matrix solution.