summaryrefslogtreecommitdiff
path: root/1997/CH3/EX3.2/example2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1997/CH3/EX3.2/example2.sce')
-rwxr-xr-x1997/CH3/EX3.2/example2.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1997/CH3/EX3.2/example2.sce b/1997/CH3/EX3.2/example2.sce
new file mode 100755
index 000000000..87a9466c5
--- /dev/null
+++ b/1997/CH3/EX3.2/example2.sce
@@ -0,0 +1,18 @@
+//Chapter-3, Problem 3.2 , Page105
+//===========================================================================
+clc;
+clear;
+
+//INPUT DATA
+PRF= 1000;//pulse repetitive frequency in Hz
+Fd = 1000;//doppler frequency in Hz;
+F = 10*10^9;//operating frequency of radar in Hz;
+Vo = 3*10^8;//velocity in m/s
+
+//Calculations
+ lamda = Vo/F;
+ Va = (Fd*lamda)/2;//speed of automobile in m/s
+ Va1 = Va*18/5; //speed of automobile in kmph
+
+//Output
+mprintf('Speed of automobile is %g m/s or %g kmph\n',Va,Va1 );