Theory and Calculations of Electrical Apparatus