summaryrefslogtreecommitdiff
path: root/1997/CH9/EX9.2/example2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1997/CH9/EX9.2/example2.sce')
-rwxr-xr-x1997/CH9/EX9.2/example2.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1997/CH9/EX9.2/example2.sce b/1997/CH9/EX9.2/example2.sce
new file mode 100755
index 000000000..f621c4e0d
--- /dev/null
+++ b/1997/CH9/EX9.2/example2.sce
@@ -0,0 +1,17 @@
+//Chapter-9 example 2
+//=============================================================================
+clc;
+clear;
+//input data
+Da = 2.5;//diameter of parabolic antenna in m
+F = 5*10^9;//radar operating frequency in hz
+Vo = 3*10^8;//velocity of EM wave in m/s
+
+//Calculations
+lamda = Vo/F;//wavelength
+Gp = 6.4*(Da/lamda)^2//gain of parabolic reflector
+G = 10*log10(Gp)//gain in dB
+//Output
+mprintf('Gain of parabolic reflector is %3.2f dB',G);
+
+//=============end of the program==============================================