diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3886/CH14/EX14.5 | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.gz Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.tar.bz2 Scilab-TBC-Uploads-7bc77cb1ed33745c720952c92b3b2747c5cbf2df.zip |
Diffstat (limited to '3886/CH14/EX14.5')
-rw-r--r-- | 3886/CH14/EX14.5/14_5.sce | 26 | ||||
-rw-r--r-- | 3886/CH14/EX14.5/14_5.txt | 5 |
2 files changed, 31 insertions, 0 deletions
diff --git a/3886/CH14/EX14.5/14_5.sce b/3886/CH14/EX14.5/14_5.sce new file mode 100644 index 000000000..4bb4f42db --- /dev/null +++ b/3886/CH14/EX14.5/14_5.sce @@ -0,0 +1,26 @@ +//Enemy ship location
+//refer fig. 14.10
+//taking north as y direction and west as x direction
+//vAy=36*cosd(theta)
+//vAx=36*sind(theta)
+//Components of velocity of enemy ship
+vBy=18*cosd(30) //kmph
+vBx=-18*sind(30) //kmph
+//then
+//vrx=36*sind(theta)+9
+//vry=36*cosd(theta)-15.588
+//solving
+x=0.2777
+theta=16.12 //degree
+printf("\nWar ship must move in N %.2f W direction",theta)
+vrx=36*sind(theta)+9
+vry=36*cosd(theta)-15.588
+vr=sqrt((19^2)+(19^2)) //kmph
+//relative distance moved
+dr=25-5 //km
+//time interval
+t=20/26.870 //hour
+printf("\n%.2f hour after sighting the enemy ship the shell is to be fired",t)
+
+
+
diff --git a/3886/CH14/EX14.5/14_5.txt b/3886/CH14/EX14.5/14_5.txt new file mode 100644 index 000000000..b54896698 --- /dev/null +++ b/3886/CH14/EX14.5/14_5.txt @@ -0,0 +1,5 @@ +
+--> exec('E:\My program EM\14.Relative velocity\14.5.sce', -1)
+
+War ship must move in N 16.12 W direction
+0.74 hour after sighting the enemy ship the shell is to be fired
\ No newline at end of file |