FEM homework calculations