Text this: Theory and performance of electrical machines