#finding an appropriate wire gauge
#initialisation of variable
from math import pi,tan,sqrt,sin,cos,acos,atan
V=15.0;#voltage
R=4.0;#resistance
Vl=.1;
D=8.0;#duty cycle
#calculation
Il=V/R;
Rw=Vl/Il#wiring resistance
Ri=Rw/(2*D);
#result
print "load current is",round(Il,2), "A"
print "wiring resistance is",round(Rw*1000,2), "mohm"
print "resistance per inch is",round(Ri*1e6,2), "microohm/inch"