#Given
n=10**17
e=1.6*10**-19 #C
t=1.0 #S
#Calculation
I=n*e/t
#Result
print"The magnitude of current in the wire is ",I*10**2,"10**-2 A and direction is from left to right"
#given
I=0.5
T=1
e=1.6*10**-19
t=60 #minute
#Calculation
n=I*T/e
q=I*t**2
n1=q/e
#Result
print"(i) The number of electrons passing a cross section of the bulb is ",round(n*10**-18,1)*10**18,"electrons/S"
print"(ii) The number of electrons is ",round(n1*10**-22,1)*10**22,"electrons/hour"
#Given
e=1.6*10**-19 #C
f=6.8*10**15 #rev/sec
r=0.51*10**-10 #m
#Calculation
I=e*f
#Result
print"The equivalent current is ", I*10**3,"*10**-3 A"
#Given
I=10 #A
A=1 #m*m**2
e=1.6*10**-19 #C
n=10**28 #m**-3
#Calculation
Vd=I/(n*A*e)
#Result
print"Drift velocity of the conduction electrons are ", Vd,"m/s"
#Given
I=10 #A
A=4*10**-6 #m**2
e=1.6*10**-19 #C
n=8*10**28 #m**-3
l=4
#Calculation
Vd=I/(n*A*e)
t=l/Vd
#Result
print"Time required by an electron is ", t*10**-4,"*10**4 S"
#Given
a=6.023*10**23
m=63.5*10**-3
d=9*10**3
A=10**-7 #m**2
e=1.6*10**-19 #C
I=1.5 #a
K=1.38*10**-23 #J/K
T=300 #K
Vd=1.1*10**-3
C=3*10**8
#Calculation
import math
n=a*d/m
Vd=I/(n*A*e)
V=math.sqrt((3*K*T*a)/m)
V1=Vd/V
E=Vd/C
#Result
print"(i) Thermal speeds of copper atoms at ordinary temperatures are ", round(V1*10**6,2),"*10**-6 m/s"
print"(ii) Speed of propagation of electric fild is ", round(E*10**12,1)*10**-12
#Given
V=5
l=0.1
Vd=2.5*10**-4
#Calculation
E=V/l
u=Vd/E
#Result
print"The electron mobility is ", u,"m**2/V/C"
#Given
I=2.4
A=0.30*10**-6
m=9.1*10**-31
n=8.4*10**28
e=1.6*10**-19
E=7.5
#Calculation
J=I/A
t=m*J/(n*e**2*E)
#Result
print"Average relaxation time is ", round(t*10**16,2)*10**-16,"S"
#Given
r=0.12*10**-2 #m
I=10
r1=0.08*10**-2 #m
I=10 #A
e=1.6*10**-19 #C
n=8.4*10**28
#Calculation
import math
A=math.pi*(r**2)
J=I/A
A1=math.pi*r1**2
Vd=I/(e*n*A1)
#Result
print"(i) Current density in the alluminium wire is ",round(J*10**-6,1),"*10**6 A/m**2"
print"(ii) Drift velocity of electrons in the copper wire is ",round(Vd*10**4,1),"*10**-4 m/S"
#Given
D=0.13*10**-2
R=3.4 #ohms
l=10.0
#Calculation
import math
A=(math.pi/4.0)*D**2
a=R*A/l
b=1/a
#Result
print"Conductivity of a material is ",round(b*10**-6,1),"*10**6 S/m"
#Given
A1=25.0 #mm**2
l2=1 #m
R2=1/58.0
A2=1
l1=1000
#Calculation
R=(l1/l2)*(A2/A1)
R1=R*R2
#Result
print"The value of resistance is ", round(R1,2),"ohm"
#Given
R1=4.5
A1=1
A2=2.0
l2=3
l1=1.0
#Calculation
R=(l2/l1)*(A1/A2)
R2=R*R1
#Result
print"The resistance of another wire is ", R2,"ohm"
#Given
r=1
r1=0.5
R1=0.15 #ohm
#Calculation
import math
A1=(math.pi/4.0)*r**2
A2=(math.pi/4.0)*r1**2
l=A1/A2
R=l*l
R2=R*R1
#Result
print"New resistance of the wire is ", R2,"ohm"
#Given
R=1.5 #ohm
e=1.6*10**-19 #C
t=1 #second
V=3 #V
#Calculation
I=V/R
n=I*t/e
#Result
print "Number of electrons flowing through it in 1 S is ",n
#Given
ne=2.8*10**18
np=1.2*10**18
e=1.6*10**-19
t=1 #S
V=220
#Calculation
q=(ne+np)*e
I=q/t
R=V/I
#Result
print"Effective resistance of the tube is ", round(R,0),"ohm"
#Given
m=84 #g
d=10.5 #g/cm**3
a=1.6*10**-6
#Calculation
V=m/d
s=V**(1/3.0)
R=a/2.0
#Result
print"Resistance between the opposite faces is ", R,"ohm"
#Given
l=1.001
A=1.001
#Calculation
R=l*A
R1=R-1
A=R1*100
#Result
print"Percentage change in its resistance is ", round(A,1),"%"
#Given
m=0.45 #Kg
R=0.0014 #ohm
a=1.78*10**-8 #ohm
d=8.93*10**3 #Kg/m**3
#Calculation
import math
l=math.sqrt(R*m/(a*d))
r=math.sqrt(m/(math.pi*d*1.99))
#Result
print"The value of length is",round(l,2),"m"
print"The value of radius is ",round(r*10**3,2),"mm"
#Given
R15=80 #ohm
a=0.004
#Calculation
R0=R15/(1+15*a)
R50=R0*(1+a*50)
#Result
print"The value of resistance at 50 degree C is ", round(R50,2),"ohm"
#Given
R20=20 #ohm
P=60 #W
V=120.0 #Volts
a=5*10**-3
#Calculation
I=P/V
Rt=V/I
t=(((Rt/R20)-1)/a)+R20
#Result
print"Normal working temperature of the lamp is ", t,"degree C"
#Given
R0=5 #ohm
R100=5.23 #ohm
Rt=5.795 #ohm
#Calculation
t=((Rt-R0)/(R100-R0))*100
#Result
print"The temperature of the bath is ", round(t,2),"degree C"
#Given
A=15*10**-4 #m**2
a=7.6*10**-8 # ohm m
l=2000 #m
b=0.005 #degree/C
#Calculation
R0=a*l/A
R50=R0*(1+(b*50))
#Result
print"The value of resistance is ", round(R50,3),"ohm"
#Given
a=0.004
ac=0.0007
R0=100
#Calculation
R=ac*R0/a
#Result
print"The resistance of a copper filament is ", R,"ohm"
#Given
R1=4.0 #ohm
R2=4.0 #ohm
#Calculation
Rab=1/((1/R1)+(1/R2))
#Result
print"The equivalent resisatance is ", Rab,"ohm"
#Given
R1=15 #ohm
R2=30 #ohm
#Calculation
R=R1*R2/(R1+R2)
#Result
print"The equivqlent resistance between A and B is ", R,"ohm"
#Given
R1=5 #ohm
R2=9 #ohm
R3=14 #ohm
R4=11
R5=7
R6=18
R7=13
R8=22
V=22
#Calculation
Rec=(R1+R2)*R3/(R1+R2+R3)
Rbe=(R4+R5)*R6/(R4+R5+R6)
Rae=(R7+R2)*R8/(R7+R2+R8)
I=V/Rae
#Result
print"The value of current in the branch AF is ", I,"A"
#Given
R1=12 #ohm
R2=6 #ohm
#Calculation
Rdg=R1*R2/(R1+R2)
Rch=R1*R2/(R1+R2)
Rab=Rdg+Rch
#Result
print"The equivalent resistance is ", Rab,"ohm"
#Given
Rab=500.0 #ohm
Rl=500 #ohm
Rbc=1500 #ohm
E=50 #Volts
Rac=2000.0 #ohm
V=40
#Calculation
R=Rbc*Rl/(Rbc+Rl)
I=E/(Rab+R)
Pd=I*Rab
Rl1=E-Pd
I1=E/Rac
R12=V/I1
#Result
print"(i) Potential difference across the road is ", round(Rl1,2),"V"
print"(ii) Resistance at BC is ", R12,"ohm"
#Given
R1=5 #ohm
R2=5.0 #ohm
R=6
#Calculation
n=(1/(R-R1)*R2)
#Result
print"There are", n,"resistance are in parallel"
#Given
R1=20.0 #ohm
R2=10.0 #ohm
R4=10
#Calculation
Rbd=(R1*R2)/(R1+R2)
Rae=R2+Rbd+R4
#Result
print"The value of resistance is ", round(Rae,2),"ohm"
#Given
R1=2.0 #ohm
R2=3 #ohm
R3=2.8
E=6 #V
#Calculation
Rab=R1*R2/(R1+R2)
Rt=Rab+R3
I=E/Rt
Vab=I*Rab
I1=Vab/2.0
#Result
print"The steady state current is ", I1,"A"
#Given
R1=3 #ohm
R2=3
R3=6
#Calculation
Rad=(R1+R2)*R3/(R1+R2+R3)
Rae=(Rad+R1)*R3/(Rad+R1+R3)
Raf=(Rae+R1)*R3/(Rae+R1+R3)
Rab=(Raf+R1)*R2/(Rae+R1+R2)
#Result
print"the effective resistance between the point A and B is", Rab,"Ohm"
#Given
R2=50.0 #ohm
R3=50.0 #ohm
R4=75.0 #ohm
E=4.75
R1=100
#Calculation
Rbc=1/((1/R2)+(1/R3)+(1/R4))
R=R1+Rbc
I=E/R
R11=I*R1
Vbc=E-(I*R1)
I2=Vbc/R2
I3=Vbc/R3
I4=Vbc/R4
#Result
print"Equivalent resistance of the circuit is ", R,"ohm"
print"Current in R2 is",I2,"A"
print"Current in R3 is",I3,"A"
print"Current in R4 is",I4,"A"
#Given
V=19
I1=0.5
I2=2 #A
r=2
#Calculation
E=V+I1*r
#Result
print"E.M.F is ", E,"V"
#Given
V=1.5
a=1.5
r1=0.5 #ohm
r2=0.25
R=2.25 #ohm
#Calculation
E=V+a
r=r1+r2
Rt=r+R
I=E/Rt
pd=V-(I*r1)
pd1=V-(I*r2)
#Result
print"(i) The circuit current is ",I,"A"
print"(ii) P.D across the terminals of each cell is ",pd,"V and ",pd1,"V"
#Given
n=10
E=1.5
R=4 #ohm
r=0.1
a=8
#Calculation
Emf=n*E
Rt=R+(n*r)
I=Emf/Rt
Emf1=(a*E)-(2*E)
I1=Emf1/Rt
I11=I-I1
#Result
print"Reduction in current is ", I11,"A"
#Given
Emf=2
Emf1=1.9
Emf2=1.8
R1=0.05
R2=0.06
R3=0.07
R0=5 #ohm
#Calculation
Emft=Emf+Emf1+Emf2
R=R1+R2+R3
Rt=R+R0
I=Emft/Rt
#Result
print"The reading of the ammeter is ", round(I,1),"A"
#Given
R1=6.0 #ohm
R2=3
I=0.8 #A
a=24
#Calculation
I1=I*(R1+R2)/R1
I11=I1-I
Rp=R1*R2/(R1+R2)
Rt=Rp+8
r=(a/I1)-10
V=I1*Rt
#Result
print"(i) Current in 6 ohm resistance is ", I11,"A"
print"(ii) Internal resistance of the battery is ", r,"ohm"
print"(iii) The terminal potential difference of the battery is ", V,"V"
#Given
R1=2 #ohm
R2=4
R3=6
E=8
r=1
#Calculation
Rac=(R1+R2)*R3/(R1+R2+R3)
I=E/(Rac+r)
I1=I/2.0
#Result
print"Internal resistance is ", I1,"A"
#Given
E=1
R=2
#Calculation
r=(E*R)-E
print"The internal resisatnce of aech cell is ",r,"ohm"
#Given
R1=15.0 # ohm
R2=15.0
E=2
V=1.6
#Calculation
R=R1*R2/(R1+R2)
r=((E/V)-1)*R*4
#Result
print"Internal resisatnce of each cell is ", r,"ohm"
#Given
I1=1 #A
E=1.5
I2=0.6
R2=2.33 #ohm
#Calculation
R=2*E/I1
R1=2*E/I2
r=R1-2*R2
#Result
print"Internal resisatnce of each battery is ", r,"ohm"
#Given
R1=4 #ohm
R2=4 #ohm
R3=12
R4=6.0
E=16
r=1 #ohm
#calculation
Rab=R1*R2/(R1+R2)
Rcd=R3*R4/(R3+R4)
R=Rab+Rcd+1
I=E/(R+r)
I1=I/2.0
I3=I*R4/(R3+R4)
I4=I*R3/(R3+R4)
Vab=4*I1
Vbc=I*1
Vcd=12*I3
#Result
print"(i) equivalent resistance of the network is ", R,"ohm"
print"(ii) Circuit current is", I,"A , Current in R1 is",I1,"A , Current in R3 is",round(I3,2),"A , Current in R4 is ",round(I4,2)
print "Voltage drop Vab is",Vab,"V \nVbc is",Vbc,"V \nVcd is",Vcd,"V"