summaryrefslogtreecommitdiff
path: root/1553/CH18/EX18.10/18Ex10.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH18/EX18.10/18Ex10.sce')
-rw-r--r--1553/CH18/EX18.10/18Ex10.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH18/EX18.10/18Ex10.sce b/1553/CH18/EX18.10/18Ex10.sce
new file mode 100644
index 000000000..ccd8110a0
--- /dev/null
+++ b/1553/CH18/EX18.10/18Ex10.sce
@@ -0,0 +1,9 @@
+//chapter 18 Ex 10
+
+clc;
+clear;
+close;
+sTrain=50; t=9; lTrain=280;
+sRelative=(lTrain/t)/(5/18);
+sGoods=sRelative-sTrain;
+printf("The speed of goods train is %d km/hr",sGoods);