diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /1301/CH16/EX16.16/ex16_16.sce | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '1301/CH16/EX16.16/ex16_16.sce')
-rwxr-xr-x | 1301/CH16/EX16.16/ex16_16.sce | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/1301/CH16/EX16.16/ex16_16.sce b/1301/CH16/EX16.16/ex16_16.sce index 086441797..39265ac8b 100755 --- a/1301/CH16/EX16.16/ex16_16.sce +++ b/1301/CH16/EX16.16/ex16_16.sce @@ -1,6 +1,8 @@ -clc;
-v1=-20; //velocity in m/sec
-vs=0; //velocity in m/sec
-fs=500; //original frquency
-f1=(fs*(v+v1))/(v-vs); //doppler effect
-disp(f1,"Percieved frequency in Hz = "); //diplaying result
\ No newline at end of file +clc; +v1=-20; //velocity in m/sec +v= 343; +vs=0; //velocity in m/sec +fs=500; //original frquency +f1=(fs*(v+v1))/(v-vs); //doppler effect +disp(f1,"Percieved frequency in Hz = "); //diplaying result +//470.845
\ No newline at end of file |