Direct- and alternating-current machine design being instructions for the design of motors and generators