summaryrefslogtreecommitdiff
path: root/1979/CH4/EX4.17
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1979/CH4/EX4.17
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 '1979/CH4/EX4.17')
-rwxr-xr-x1979/CH4/EX4.17/Ex4_17.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1979/CH4/EX4.17/Ex4_17.sce b/1979/CH4/EX4.17/Ex4_17.sce
new file mode 100755
index 000000000..c16d1c601
--- /dev/null
+++ b/1979/CH4/EX4.17/Ex4_17.sce
@@ -0,0 +1,19 @@
+//chapter-4 page 152 example 4.17
+//==============================================================================
+clc;
+clear;
+
+c=3*10^10;//Velocity of Light in cm/sec
+f=6*10^9;//Frequency in Hz
+
+//CALCULATION
+fc=(0.8*f);//Given Cutoff frequency for TE11 mode in Hz
+wc=(c/fc);//Cutoff wavelength in cms
+D=((1.841*wc)/(%pi));//Diameter of waveguide in cm
+w0=(c/f);//Free space wavelength in cm
+wg=(w0/sqrt(1-(w0/wc)^2));//Guide wavelength in cm
+
+//OUTPUT
+mprintf('\nDiameter of the waveguide is D=%1.4f cm \nGuide wavelength is wg=%1.3f cm',D,wg);
+
+//=========================END OF PROGRAM===============================