A program to compute the power loss in a transmission line with a resistance of 0.05 ohms/mile. Compare the power loss if 500 kw of power is transmitted from a power generating station to cities at distances of 20, 30, 40, 50... 100 miles at 100 V and 200 V
The current I is calculated from
I = power transmitted in watts divided by volts transmitted
The total resistance R is computed from the equation:
Power loss = i² x R.