summaryrefslogtreecommitdiff
path: root/1301/CH16/EX16.15/ex16_15.sce
blob: 881886360d21b7091c4b83bdc61de00478415d6c (plain)
1
2
3
4
5
6
clc;
v=343;     //velocity in m/sec
vs=20;     //velocity in m/sec
fs=500;    //original frquency
f1=(fs*v)/(v-vs);   //doppler effect
disp(f1,"Percieved frequency in Hz = ");   //diplaying result