Calculation of Current and Voltage