summaryrefslogtreecommitdiff
path: root/1997/CH11/EX11.2/example2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1997/CH11/EX11.2/example2.sce')
-rwxr-xr-x1997/CH11/EX11.2/example2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1997/CH11/EX11.2/example2.sce b/1997/CH11/EX11.2/example2.sce
new file mode 100755
index 000000000..c35e4abd8
--- /dev/null
+++ b/1997/CH11/EX11.2/example2.sce
@@ -0,0 +1,14 @@
+//Chapter-11 example 2
+//=============================================================================
+clc;
+clear;
+Vo = 3*10^8;//velocity of EM wave in m/s
+t = 20*10^-6;//echo time in sec
+// calculations
+
+R = (Vo*t)/2;//distance b/n target and Radar in m
+
+// Output
+mprintf('Distance of Target from the Radar is %g Km',R/1000 );
+
+//==========end of program=====================================================