#Given
d=11.5 #m
w=5*10**-7
v=3*10**4 #m/s
c=3*10**8
#Calculation
a=2*d*v**2/(w*c**2)
#Result
print"Fringe shift is",a,"Fringes"
#Given
l=6371
v=30*10**3
c=3.0*10**8
#Calculation
A=0.5*2*l*(v/c)**2
#Result
print"Change in length in the diameter is",round(A*10**5,2),"*10**2 m"
#Given
a=60.0
#Calculation
v=(a**2+1)*(a**2-1)/a**4
#Result
print"Maximum speed is",v,"c"
#Given
c=3*10**8
a=0.95
b=20
#Calculation
import math
t=b*c/(a*c)
L=math.sqrt(1-a**2)*b
T=L/a
#Result
print"(a) time taken to cover the distance of star from earth", round(t,2),"Years"
print"(b) Time taken is",round(T,2),"Years"
#Given
L=5 #m
v=0.6
c=1
t=10 #Second
#Calculation
import math
L0=L/math.sqrt(1-(v/c)**2)
T=t*math.sqrt(1-(v/c)**2)
#Result
print"(a) Length is", L0,"m"
print"(b) Time is",T,"Seconds"
#Given
L0=120
v=0.95 #C
#Calculation
import math
L=L0*math.sqrt(1-v**2)
t=L/v
T=2*t
#Result
print"Time taken is",round(T,2),"Years"
#Given
t=24*60
v=1440
c=1442.0
#Calculation
import math
v=math.sqrt(1-(v/c)**2)
#Result
print"Speed is",round(v,4),"C"
#Given
B=1.5 #T
v=0.5 #c
m0=6.1*10**-31 #Kg
c=3.0*10**8
e=1.602*10**-19
#Calculation
import math
A=1-(v**2/c**2)
r=(m0*v*c)/(B*math.sqrt(A))
#Result
print"Radius of curvature of path is", r*10**23,"*10**-4 m"
#Given
m=8.0
c=3*10**8 #m/s
v=1
#Calculation
import math
v=math.sqrt((v-(v/m)**2)*c**2)
#Result
print"Speed of particle is", round(v*10**-8,3),"*10**8 m/s"
#Given
d=1.5*10**11
a=1.35*10**3
c=3.0*10**8
#Calculation
import math
E=4*math.pi*d**2*a
m=E/c**2
#Result
print"Decrease in the mass of sun per second is",round(m*10**-9,1),"*10**9 Kg"
#Given
v=0.8 #c
m0=2.5*10**-28
c=1
C=3*10**8
V=2.4*10**8
#Calculation
import math
m=m0/(math.sqrt(1-(v/c)**2))
T=(m-m0)*C**2
T1=m0*V**2/2.0
#Result
print "Kinetic energy is",T1,"J"
#Given
E=3.2*10**-13 #J
c=3.0*10**8
m0=9.1*10**-31
#Calculation
m=E/c**2
v=(1-(m0/m)**2)
#Result
print"Mass is", round(m*10**30,2)*10**-30,"Kg"
print"Speed is",round(v,3),"C"
#Given
KE=2.5 #Mev
m=0.511
#Calculation
E=KE+m
#Result
print"Total energy is",E,"Mev"
#Given
v=2.0
c=3.8*10**8
#Calculation
import math
V=math.sqrt(1-(1/v)**2)
#Result
print"Speed of particle is", round(V,3),"c"
#Given
e=13.6*1.6*10**-19 #J
c=3*10**8
#Calculation
m=e/c**2
#Result
print"Loss of mass is",round(m*10**35,2)*10**-35,"Kg"
#Given
E=8*10**-11 #J
c=3.0*10**8
#Calculation
m=E/c**2
#Result
print"Mass of proton is", round(m*10**28,2)*10**-23,"Kg"
#Given
m0=2.5*10**-28
c=9*10**16
v=1.5*10**8
c=3.0*10**8
e=1.16*10**-13
#Calculation
import math
X=math.sqrt(1-(v/c))
T=(m0*c*((1/X)-1))/e
#Result
print"Kinetic energy is",round(T*10**8,0),"Mev"
#Given
m=9.1*10**-31 #Kg
c=3*10**8
e=1.6*10**-19
#Calculation
E=(m*c**2)/e
#Result
print"Energy is",round(E*10**-6,2),"Mev"
#given
m0=1.67*10**-27
v=0.8
c=3*10**8
e=1.6*10**-19
#Calculation
import math
E=(m0*c**2/(math.sqrt(1-v**2)))/e
#Result
print"Energy is",round(E*10**-6,0),"Mev"
#Given
v=2.983*10**8 #m/s
m0=9.101*10**-31
v=100
c=101.0
C=2.998*10**8
#Calculation
import math
V=math.sqrt(v/c)
V1=V*C
m=m0/(math.sqrt(1-(v/c)))
E=m*C**2
#Result
print"Energy is",E
print"Velocity is", round(V1*10**-8,3),"*10**8 m/s"
#Given
m0=5*10**-6 #Kg
C=2.998*10**8
#Calculation
E=m0*C
#Result
print"Energy is",E*10**-2,"*10**2 Joules"
#Given
m=1.67*10**-27 #Kg
c=3*10**8
e=1.6*10**-19
#Calculation
E=m*c**2/e
#Result
print"Energy is",round(E*10**-6,0),"Mev"