#Given
E=25 #V/m
s=150*10**-4 #m**2
a=60 #degree
#Calculation
import math
A=E*s*math.cos(a*3.14/180.0)
#Result
print"Flux of the electric field is",round(A,4),"Nm**2/C"
#Given
E=3*10**3 #N/C
S=10**-2 #m**2
#Calculation
import math
a=E*S
A=E*S*math.cos(60*3.14/180.0)
#Result
print"(a) Flux of the field is",a,"Nm**2/C"
print"(b) Flux through the square is", round(A,0),"Nm**2/C"
#Given
e=8.854*10**-12 #C**2/N/m**2
q=1 #C
#Calculation
a=q/e
#Result
print"Number of electric lines are",round(a*10**-11,3)*10**11
#Given
a=8*10**3 #Nm**2/C
e=8.854*10**-12 #C**2/N/m**2
#Calculation
q=a*e
#Result
print"(a) Net charge inside the box is",q,"C"
print"(b) If the net outward flux is zero,we can't conclude that the charge inside the box is zero."
#Given
q=10**-5
e=8.854*10**-12
#Calculation
a=q/(6.0*e)
#Result
print"Magnitude of electric flux is", round(a*10**-5,2),"*10**5 Nm**2/C"
#Given
E=9*10**4 #N/C
r=0.04 #m
m=9*10**9
#Calculation
l=E*r/(2.0*m)
#Result
print"Linear charge density is", l,"C/m"
#Given
a=5*10**-6 #C/m**2
e=8.854*10**-12 #C**2/Nm**2
r=0.1 #m
a1=60 #Degree
#Calculation
import math
A=(a*math.pi*r**2*math.cos(a1*3.14/180.0))/(2.0*e)
#Result
print"Electric flux is", round(A*10**-3,2),"*10**3 N m**2/C"
#Given
a=17*10**-22 #C/m**2
e=8.854*10**-12
#Calculation
E=a/e
#Result
print"(a) Electric field to the left of the plate is zero"
print"(b) Electric field to the right of the plate is zero"
print"(c) Electric field between the plates is",round(E*10**10,2)*10**-10,"N/C"
#Given
q=1.6*10**-7 #C
R=0.12 #m
m=9*10**9
r=0.18
#Calculation
E=(m*q)/R**2
E1=(m*q)/r**2
#Result
print"(a) ELectric field inside the sphere is zero"
print"(b) Electric field outside the sphere is",E,"N/C"
print"(c) Electric field at a point 18 cm from the centre is", round(E1*10**-4,2),"*10**4 N/C"
#Given
e=50
V=0.2
m=9*10**9
#Calculation
q=e*V**2/m
#Result
print"Charge contained in the sphere is",round(q*10**10,2)*10**-10,"C"