summaryrefslogtreecommitdiff
path: root/1997/CH9/EX9.15/example15.sce
diff options
context:
space:
mode:
Diffstat (limited to '1997/CH9/EX9.15/example15.sce')
-rwxr-xr-x1997/CH9/EX9.15/example15.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1997/CH9/EX9.15/example15.sce b/1997/CH9/EX9.15/example15.sce
new file mode 100755
index 000000000..1dd452dfc
--- /dev/null
+++ b/1997/CH9/EX9.15/example15.sce
@@ -0,0 +1,20 @@
+//Chapter-9 example 15
+//=============================================================================
+clc;
+clear;
+//input data
+//Da = 6*lamda;
+
+//Calculations
+
+//Gp = 6.4*(Da/lamda)^2; //power gain
+
+//Gp = 6.4*(6*lamda/lamda)^2 //power gain of parabolic reflector
+Gp =6.4*(6)^2;
+G = 10*log10(Gp)//gain in dB
+
+
+//Output
+mprintf('Gain of parabolic reflector is %3.2f dB\n',G);
+
+//=============end of the program==============================================