Homeworks 8 and 9 FEM and GPS