From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1991/CH4/EX4.7/7.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 1991/CH4/EX4.7/7.sce (limited to '1991/CH4/EX4.7') diff --git a/1991/CH4/EX4.7/7.sce b/1991/CH4/EX4.7/7.sce new file mode 100755 index 000000000..8debad005 --- /dev/null +++ b/1991/CH4/EX4.7/7.sce @@ -0,0 +1,12 @@ +clc +clear +//INPUT DATA +us=264 //speed of jet fighter +x=71.7 +v=340 //velocity of sound +f=1*10^3 //frequency +//calculation +usd=us*cosd(x)//horizontal component of velocity +fr= (v*f)/(v-usd) -((v*f)/(v+usd))//frequency range ,doppler effect +//output +printf("the frequency range is %3.3f Hz ",fr) -- cgit