The Finite Element Method: Basic Formulation and Linear Problems