Calculation of Current, Voltage, and Power in Resistors