summaryrefslogtreecommitdiff
path: root/2219/CH10/EX10.17/Ex10_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '2219/CH10/EX10.17/Ex10_17.sce')
-rwxr-xr-x2219/CH10/EX10.17/Ex10_17.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2219/CH10/EX10.17/Ex10_17.sce b/2219/CH10/EX10.17/Ex10_17.sce
new file mode 100755
index 000000000..875e33ea5
--- /dev/null
+++ b/2219/CH10/EX10.17/Ex10_17.sce
@@ -0,0 +1,16 @@
+// Chapter 10 example 17
+//------------------------------------------------------------------------------
+clc;
+clear;
+//Given data
+v = 250; // velocity in m/s
+lamda = 10.6*10^-6 // operating wavelength
+theta = 60; // angle of depression
+
+// Calculations
+Vr = v*cos(theta*%pi/180); // radial velocity
+fd = (2*Vr)/lamda; // doppler shift
+
+// Output
+mprintf('Doppler Shift = %3.2f Mhz',fd*10^-6);
+//------------------------------------------------------------------------------