diff options
Diffstat (limited to '3886/CH14/EX14.3/14_3.sce')
-rw-r--r-- | 3886/CH14/EX14.3/14_3.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/3886/CH14/EX14.3/14_3.sce b/3886/CH14/EX14.3/14_3.sce new file mode 100644 index 000000000..125117821 --- /dev/null +++ b/3886/CH14/EX14.3/14_3.sce @@ -0,0 +1,8 @@ +//Two trains
+//Taking the direction of motion of train A as positive
+//let velocity of A be v m/sec
+//Relative velocity=1.5*v
+vA=20*((60*60)/(1000)) //kmph
+//velocity of B
+vB=-10*((60*60)/(1000)) //kmph
+printf("\nVelocity of A=%.2f kmph\nVelocity of B=%.2f kmph",vA,-vB)
|