import math
from math import sqrt
a=2.286 #in cm
wl_c=2.0*a*10**-2 #in m
c=3.0*10**8
wl=c/10**10 #in m
print 'i)TE10 wave will propogate because (wl_c >wl)'
#determination of gide wl
wl_g=10**2*(wl/(sqrt(1-(wl/wl_c)**2.0)))
wl_g=round(wl_g,2)
print 'Guide wavelength is',wl_g,'cm'
#determination of phase velocity
vp=c*wl_g/wl*10**-6
print 'Phase velocity is',vp,'*10**6 m/s'
#determination of group velocity
vg=c*wl/wl_g
vg=round(vg,2)
print 'Group velocity is',vg,'m/s'