summaryrefslogtreecommitdiff
path: root/728/CH4/EX4.14/Ex4_14.txt
blob: 1c6d6a884c53c08ba878e7379f9d8f35a9fafbac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//Caption:Calculate (i)-guide wavelength,(ii)-phase constant,(iii)-phase velocity for dominant mode
//Exa:4.14
clc;
clear;
close;
c=3*10^10;//in cm/s
a=5;//in cm
b=2.5;//in cm
wl_o=4.5;//in cm
//For TE10 mode:
wl_c=2*a;
wl_g=wl_o/sqrt(1-(wl_o/wl_c)^2);
V_p=c/sqrt(1-(wl_o/wl_c)^2);
w=2*%pi*c/wl_o;
w_c=2*%pi*c/wl_c;
b=sqrt(w^2-w_c^2)/c;
disp(wl_g,'Guide wavelength (in cm) =');
disp(b,'Phase constant =');
disp(V_p,'Phase velocity (in cm/s) =');

//answer in book is wrongly written as guide wavelength =7.803 cm
//answer in book is wrongly written as Phase velocity = 5.22*10^10 cm/s