diff options
Diffstat (limited to '3886/CH14/EX14.9/14_9.sce')
-rw-r--r-- | 3886/CH14/EX14.9/14_9.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3886/CH14/EX14.9/14_9.sce b/3886/CH14/EX14.9/14_9.sce new file mode 100644 index 000000000..58ff6af69 --- /dev/null +++ b/3886/CH14/EX14.9/14_9.sce @@ -0,0 +1,18 @@ +//passenger observing rain drops
+//refer fig. 14.17
+//Let the true velocity of rain be v kmph at a true angle theta with vertical
+//Taking the direction of train as x and that of vertical downward as y
+//Velocity components of train are
+//v1x=v*sind(theta)
+//v1y=v*cosd(theta)
+//when the velocity of train was 36 kmph
+v2x=36
+v2y=0
+//alpha is the direction of relative velocity and is given as 30 degree and when the velocity of train is 54 kmph alpha=45 degree thus
+//v*cosd(theta)=v*sind(theta)-54
+//v*sind(theta)=-11.402
+//solving we get
+v=sqrt(4407.43) //kmph
+theta=asind(-(11.402)/(66.388))
+printf("\nv=%.3f kmph\ntheta=%.2f degree",v,theta)
+
|