diff options
Diffstat (limited to '3886/CH14/EX14.8')
-rw-r--r-- | 3886/CH14/EX14.8/14_8.sce | 31 | ||||
-rw-r--r-- | 3886/CH14/EX14.8/14_8.txt | 4 |
2 files changed, 35 insertions, 0 deletions
diff --git a/3886/CH14/EX14.8/14_8.sce b/3886/CH14/EX14.8/14_8.sce new file mode 100644 index 000000000..2d76b882b --- /dev/null +++ b/3886/CH14/EX14.8/14_8.sce @@ -0,0 +1,31 @@ +//ship B approaching port
+//refer fig. 14.15 and 14.16
+//Considering west as x-axis and south as y-axis
+vAx=24*cosd(30)
+vAy=24*sind(30)
+vBx=-18
+vBy=0
+//Let relative velocity of A w.r.t. B be vr at an angle alpha to western direction
+vrx=vAx-vBx //kmph
+vry=vAy-vBy
+v=sqrt((vrx)^2+(vry)^2) //kmph
+alpha=atand(vry/vrx) //degree
+//Holding B stationary and allowing A to move with relative velovity,BC is given by
+BC=60*sind(alpha) //km
+//from triangle BCD
+DC=sqrt((25^2)+(17.735)^2) //km
+CE=DC //km
+AC=60*cosd(alpha) //km
+AD=AC-DC //km
+AE=AC+CE //km
+//Time taken to reach D
+t1=39699*60/40899 //min
+//time taken to reach E
+t2=74939*60/40599 //min
+printf("\nThe two ships can start exchanging signals %.2f min after ship A leaves the port and continue to do so for %.2f min",t1,t2-t1)
+
+
+
+
+
+
diff --git a/3886/CH14/EX14.8/14_8.txt b/3886/CH14/EX14.8/14_8.txt new file mode 100644 index 000000000..b6ba50eaa --- /dev/null +++ b/3886/CH14/EX14.8/14_8.txt @@ -0,0 +1,4 @@ +
+--> exec('E:\My program EM\14.Relative velocity\14.8.sce', -1)
+
+The two ships can start exchanging signals 58.24 min after ship A leaves the port and continue to do so for 52.51 min
\ No newline at end of file |