Text this: Finite element analysis of electrical machines