summaryrefslogtreecommitdiff
path: root/1301/CH16/EX16.16/ex16_16.sce
blob: 39265ac8bf526d45b526b55781e9d2dc9709467e (plain)
1
2
3
4
5
6
7
8
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