Application of the finite element method to some simple systems in one and two dimensions.