# Laplace's Equation on a Square

Laplace's Equation on a Square

Given Dirichlet boundary conditions on the perimeter of a square, Laplace's equation can be solved to give the surface height over the entire square as a series solution. Depending on the smoothness of the boundary conditions, vary the number of terms of the series to produce a smooth-looking surface.

n