Calculation of Total Voltage and Current