Calculating Electrical Circuits