summaryrefslogtreecommitdiff
path: root/1997/CH11/EX11.42/example42.sce
diff options
context:
space:
mode:
Diffstat (limited to '1997/CH11/EX11.42/example42.sce')
-rwxr-xr-x1997/CH11/EX11.42/example42.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1997/CH11/EX11.42/example42.sce b/1997/CH11/EX11.42/example42.sce
new file mode 100755
index 000000000..98557356d
--- /dev/null
+++ b/1997/CH11/EX11.42/example42.sce
@@ -0,0 +1,19 @@
+//Chapter-11 example 42
+//=============================================================================
+clc;
+clear;
+//Given data
+
+PW = 10^-6; // Pulse Width in sec
+PRF = 1000; // Pulse Repetitive Freq in Hz
+Vo = 3*10^8; // vel of EM wave m/s;
+
+//Calculations
+
+Rmax = Vo/(2*PRF); // max range of radar
+Rmin = (Vo*PW)/2 ; // min range of radar
+
+//output
+mprintf('Maximum Range of radar is %e m\n Minimum Range of radar is %d m',Rmax,Rmin );
+
+//==============================================================================