summaryrefslogtreecommitdiff
path: root/1997/CH9/EX9.14/example14.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1997/CH9/EX9.14/example14.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 '1997/CH9/EX9.14/example14.sce')
-rwxr-xr-x1997/CH9/EX9.14/example14.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1997/CH9/EX9.14/example14.sce b/1997/CH9/EX9.14/example14.sce
new file mode 100755
index 000000000..11833ce2e
--- /dev/null
+++ b/1997/CH9/EX9.14/example14.sce
@@ -0,0 +1,20 @@
+//Chapter-9 example 14
+//=============================================================================
+clc;
+clear;
+//input data
+
+HPBW = 6;//Half power Beamwidth in degrees
+
+//Calculations
+NNBW = 2*HPBW;//Null to Null beamwidth in degrees
+//HPBW = 70*(lamda/Da);
+//(70/HPBW)= (Da/lamda);
+Gp = 6.4*(70/HPBW)^2//gain of parabolic reflector
+G = 10*log10(Gp)//gain in dB
+
+
+//Output
+mprintf('Gain of parabolic reflector is %3.2f dB\n NNBW of the antenna is %g degrees',G,NNBW);
+
+//=============end of the program==============================================