summaryrefslogtreecommitdiff
path: root/728/CH4/EX4.14/Ex4_14.txt
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /728/CH4/EX4.14/Ex4_14.txt
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '728/CH4/EX4.14/Ex4_14.txt')
-rwxr-xr-x728/CH4/EX4.14/Ex4_14.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/728/CH4/EX4.14/Ex4_14.txt b/728/CH4/EX4.14/Ex4_14.txt
new file mode 100755
index 000000000..1c6d6a884
--- /dev/null
+++ b/728/CH4/EX4.14/Ex4_14.txt
@@ -0,0 +1,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