#Given
q=4.0 #c
Va=-10 #V
Wab=100 #joule
#Calculation
V=(Wab/q)+Va
#Result
print"The value of V is", V,"Volts"
#Given
Z=79
e=1.6*10**-19 #C
r=6.6*10**-15 #m
m=9*10**9
#Calculation
q=Z*e
V=(m*q)/r
#Result
print"Electric potential at the surface of a gold nucleus is", round(V*10**-7,3),"*10**7 V"
#Given
q=4*10**-7 #C
r=0.09 #m
m=9*10**9
a=2*10**-9
#Calculation
Vp=(m*q)/r
W=a*Vp
#Result
print"(a) Potential at point P is", Vp*10**-4,"*10**4 V"
print"(b) Work done is", W,"J"
#Given
q=20*10**-6 #C
r1=0.1 #m
r2=0.05 #m
m=9*10**9
e=1.6*10**-19
#Calculation
Va=(m*q)/r1
Vb=(m*q)/r2
Wab=-(Va-Vb)*e
#Result
print"Potential at point A is", Va*10**-6,"*10**6 V"
print"Potential at point b is", Vb*10**-6,"*10**6 V"
print"Work done is",Wab,"J"
#Given
m=9.0*10**9
r=0.5
a=16
#Calculation
q=(a*r)/m
#Result
print"Magnitude of charge is", round(q*10**10,2)*10**-10,"C"
#Given
q1=2*10**-6 #c
q2=-2*10**-6
q3=-3*10**-6
q4=6*10**-6
r=1.0 #m
m=9*10**9
#Calculation
V=m*(q1+q2+q3+q4)/r
#Result
print"Potential at the centre of the square is",V*10**-4,"*10**4 V"
#Given
m=9*10**9
q=5*10**-6
r=0.1
#Calculation
V=(6*m*q)/r
#Result
print"Potential at the centre of the hexagon is", V*10**-6,"*10**6 V"
#Given
r=0.1 #m
q=200*10**-6 #C
m=9*10**9
#Calculation
V=(m*q)/r
#Result
print"Electric potential at the centre is", V*10**-7,"*10**7 V"
#Given
a=0.2 #m
m=9*10**9
q1=2*10**-9
q2=4*10**-9
q3=8*10**-9
#Calculation
import math
V=m*((q1/a)+(q2/(a*math.sqrt(2)))+(q3/a))
b=0.1*math.sqrt(2)
V0=m*((q1/b)+(q2/b)+(q3/b))
W=q*(V0-V)
#Result
print"Required work is",round(W*10**2,2)*10**-7,"J"
#Given
V=60
r=0.05
#Calculation
E=-V/r
#Result
print"Electric field intensity between the two plate is", E,"V/m"
#Given
e=1.6*10**-19
m=3*10**-16 #Kg
r=5*10**-3 #m
g=9.8
#Calculation
q=10*e
V=(m*g*r)/q
#Result
print round(V,2),"V"
#Given
q1=7*10**-6 #c
q2=-2*10**-6 #C
r12=0.18 #m
m=9*10**9
#Calculation
U=m*((q1*q2)/r12)
W=0-U
#Result
print"(a) Electrostatic potential energy of a system is",U,"J"
print"(b) work required is", W,"J"
#Given
m=9*10**9
e=1.6*10**-19 #C
r=5.3*10**-11 #m
#Calculation
V=(m*e)/r
U=((m*e*-e)/r)/e
q=2*e
V1=(m*q)/r
#Result
print"(a) Electric potential is", round(V,2),"V"
print"(b) Electric potential energy is",round(V1,2),"V"
#Given
r12=1.5*10**-10 #m
r13=10.0**-10
q1=1.6*10**-19 #C
q3=-1.6*10**-19
m=9*10**9
#Calculation
U=m*(((q1**2)/r12)+((q1*q3)/r13)+((q1*q3)/r13))/q1
#Result
print"Potential energy is",U,"ev"
#Given
E=10**5 #N/C
q=10**-6 #C
a=0.02 #m
A=1
#Calculation'
import math
p=q*a
t=p*E*A
W=p*E*(math.cos(0*3.14/180.0)-math.cos(180*3.14/180.0))
#Result
print"(i) Torque acting on dipole is",t,"N m"
print"(ii) Work done is", round(W,3),"J"
#Given
m=9*10**9
q=8*10**-3
q0=-2*10**-9
ra=0.03
rb=0.04
#Calculation
W=(m*q*q0*(1/rb-1/ra))
#Result
print"Work done is", W,"J"
#Given
qa=1.5*10**-6 #C
qb=2.5*10**-6
a=0.15 #m
m=9*10**9
a1=0.18
#Calculation
import math
V=((qa+qb)/a)*m
Ea=m*qa/a**2
Eb=m*qb/a**2
E=Eb-Ea
V1=((qa+qb)/a1)*m
Ea1=m*qa/a1**2
Ea2=m*qb/a1**2
A=math.atan(15/10.0)*180/3.14
A1=2*A
A2=math.cos(A1*3.14/180.0)
E3=math.sqrt(Ea1**2+Ea2**2+(2*Ea1*Ea2*A2))
tb=Ea1*math.sin(A1*3.14/180.0)/(Ea2+Ea1*math.cos(A1*3.14/180.0))
B=math.atan(tb)*180/3.14
y=90-A
Y=y+B
#Result
print "(a) Net electric field is",E*10**-5,"*10**5 N/C"
print"(b) Angle is" ,round(Y,1),"degree"
#Given
q1=-1.6*10**-19 #C
q2=1.6*10**19
r12=0.53*10**-10 #m
m=9*10**9
r11=1.06*10**-10
#Calculation
U=((m*q1*q2)/r12)/q2
K=U/2.0
E=-(U-K)
U1=((m*q1*q2)/r11)/q2
E1=U-U1
#Result
print "(a) Potential energy is",round(U,2),"ev"
print"(b) Minimum work required is",round(E,3) ,"ev"
print"(c) Potential energy is",round(E1,3),"ev"
#Given
E=10**6 #V/m
p=10**-29 #cm
a=6.023*10**23
#Calculation
import math
Np=a*p
U1=Np*E
U2=Np*E*math.cos(60*3.14/180.0)
U=U1-U2
#Result
print"Heat released by the substance is", round(U,2),"J"