summaryrefslogtreecommitdiff
path: root/2414/CH16/EX16.12/Ex16_12.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2414/CH16/EX16.12/Ex16_12.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2414/CH16/EX16.12/Ex16_12.sce')
-rwxr-xr-x2414/CH16/EX16.12/Ex16_12.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2414/CH16/EX16.12/Ex16_12.sce b/2414/CH16/EX16.12/Ex16_12.sce
new file mode 100755
index 000000000..b5051352e
--- /dev/null
+++ b/2414/CH16/EX16.12/Ex16_12.sce
@@ -0,0 +1,12 @@
+clc;
+close();
+clear();
+//page no 532
+//prob no. 16.12
+c=186000; //speed of light in mi/s
+fc=10*10^9; //Hz
+fD=2*10^3; //frequency shift in Hz
+v=c*fD/(2*fc); //speed in mi/s
+mprintf('Speed of automobile , v=%.2f*10^-3 mi/s \n',v*10^3);
+v=3600*v;
+mprintf(' v=%.1f mi/hr \n',v);