summaryrefslogtreecommitdiff
path: root/2219/CH3/EX3.13/Ex3_13.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2219/CH3/EX3.13/Ex3_13.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 '2219/CH3/EX3.13/Ex3_13.sce')
-rwxr-xr-x2219/CH3/EX3.13/Ex3_13.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/2219/CH3/EX3.13/Ex3_13.sce b/2219/CH3/EX3.13/Ex3_13.sce
new file mode 100755
index 000000000..53e00a22d
--- /dev/null
+++ b/2219/CH3/EX3.13/Ex3_13.sce
@@ -0,0 +1,23 @@
+// Chapter 3 example 13
+//------------------------------------------------------------------------------
+clc;
+clear;
+// Given data
+f = 1*10^9; // frequency in Hz
+a = 5*10^-2; // wall separation
+c = 3*10^8; // velocity of EM wave in m/s
+m = 1; // for TE10
+n = 0; // for TE10
+
+// Calculations
+// lamda0 = 2/sqrt((m/a)^2 + (n/b)^2)
+lamda0 = (2*a)/m
+lamda_frspc = c/f;
+if lamda_frspc > lamda0 then
+ mprintf('1 Ghz signal cannot propagate in TE10 mode')
+else
+ mprintf('1 Ghz signal can propagate in TE10 mode');
+end
+
+
+