Theory and Calculation of Electric Circuits