Chapter6-Properties of Light

Ex1-pg124

In [1]:
##Example 6.1
##Optical path calculation 

##given values
n=1.33;##refractive index of medium
x=.75;##geometrical path in micrometre
 ##calculation
y=x*n;##
print'%s %.3f %s'%('optical path  (in micrometre) is:',y,'')
optical path  (in micrometre) is: 0.998 

Ex2-pg137

In [2]:
##Example 6.2
##Coherence length calculation 

##given values
l=1*10**-14.;##line width in metre
x=10.6*10**-6.;##IR emission wavelength in metre
 ##calculation
y=x**2./l;##
print'%s %.1f %s'%('coherence length(in metre) is:',y,'')
coherence length(in metre) is: 11236.0