summaryrefslogtreecommitdiff
path: root/1979/CH7/EX7.1/Ex7_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1979/CH7/EX7.1/Ex7_1.sce
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/CH7/EX7.1/Ex7_1.sce')
-rwxr-xr-x1979/CH7/EX7.1/Ex7_1.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1979/CH7/EX7.1/Ex7_1.sce b/1979/CH7/EX7.1/Ex7_1.sce
new file mode 100755
index 000000000..6b9dfd5c8
--- /dev/null
+++ b/1979/CH7/EX7.1/Ex7_1.sce
@@ -0,0 +1,22 @@
+//chapter-7 page 278 example 7.1
+//==============================================================================
+clc;
+clear;
+
+a=4;//Length of Waveguide in cm
+b=2.5;//breadth Waveguide in cm
+f=10^10;//Frequency in Hz
+x=0.1;//distance between twice minimum power points in cm
+c=3*10^10;//Velocity of Light in cm/sec
+
+//CALCULATION
+wc=2*a;//Cutoff wavelength in TE10 mode in cms
+w0=(c/f);//Free space wavelength in cms
+wg=(w0/sqrt(1-(w0/wc)^2));//Guide wavelength in cms
+S=(wg/(x*(%pi)));//Voltage Standing Wave Ratio(VSWR) for double minimum method
+
+//OUTPUT
+mprintf('\nFor double minimum method, Voltage Standing Wave Ratio(VSWR) is S=%2.1f',S);
+
+//=========================END OF PROGRAM===============================
+