From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 1301/CH16/EX16.16/ex16_16.sce | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to '1301/CH16/EX16.16/ex16_16.sce') 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 -- cgit