summaryrefslogtreecommitdiff
path: root/2219/CH13/EX13.1/Ex13_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2219/CH13/EX13.1/Ex13_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 '2219/CH13/EX13.1/Ex13_1.sce')
-rwxr-xr-x2219/CH13/EX13.1/Ex13_1.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2219/CH13/EX13.1/Ex13_1.sce b/2219/CH13/EX13.1/Ex13_1.sce
new file mode 100755
index 000000000..d9d1b03b1
--- /dev/null
+++ b/2219/CH13/EX13.1/Ex13_1.sce
@@ -0,0 +1,19 @@
+//Chapter 13 example 1
+//------------------------------------------------------------------------------
+clc;
+clear;
+// Given data
+f = 6; // microwave terrestrial comm link oper. freq in Ghz
+D = 50; // single hop path length in miles
+// mid way of path length
+D1 = 25;
+D2 = 25;
+N = 3; // N value for third fresnal zone
+
+// calculations
+F1 = 72.2*((D1*D2)/(D*f))^0.5; // first fresnel zone
+F3 = F1*sqrt(N); // Third fresnal zone
+
+// Output
+mprintf('First Fresnel zone distance = %3.1f feet\n Third Fresnel zone distance = %3.1f feet\n',F1,F3);
+//------------------------------------------------------------------------------