Application of the Finite Element Method to Some Simple Systems in One and Two Dimensions.