Text this: An analysis of the finite element method