Text this: The mathematical foundations of the finite element method with applications to partial differential equations