diff options
Diffstat (limited to '3648/CH14/EX14.6/Ex14_6.sce')
-rw-r--r-- | 3648/CH14/EX14.6/Ex14_6.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/3648/CH14/EX14.6/Ex14_6.sce b/3648/CH14/EX14.6/Ex14_6.sce new file mode 100644 index 000000000..6fe4f3159 --- /dev/null +++ b/3648/CH14/EX14.6/Ex14_6.sce @@ -0,0 +1,11 @@ +//Example 14_6
+clc();
+clear;
+//To find the difference between the frequency of wave reaching the officer and the car
+fo=10^10 //Units in Hz
+vw=3*10^8 //Units in meters/sec
+vc=25 //Units in meters/sec
+f1=fo*((vw+vc)/(vw-vc)) //Units in Hz
+f1=f1-10^10 //Units in Hertz
+printf("The difference between the both frequencies is=%d Hz",f1)
+//In text book answer printed wrong as 1670 Hz correct answer is 1666 Hz
|