summaryrefslogtreecommitdiff
path: root/1553/CH18/EX18.2/18Ex2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH18/EX18.2/18Ex2.sce')
-rw-r--r--1553/CH18/EX18.2/18Ex2.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH18/EX18.2/18Ex2.sce b/1553/CH18/EX18.2/18Ex2.sce
new file mode 100644
index 000000000..89006e34c
--- /dev/null
+++ b/1553/CH18/EX18.2/18Ex2.sce
@@ -0,0 +1,9 @@
+//chapter 18 Ex 2
+
+clc;
+clear;
+close;
+s=132*5/18; //converting into m/sec
+d=110+165; //length of train + length of platform
+t=d/s;
+printf("The time taken is %1.1f sec",t);