summaryrefslogtreecommitdiff
path: root/1553/CH18
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH18')
-rw-r--r--1553/CH18/EX18.1/18Ex1.sce9
-rw-r--r--1553/CH18/EX18.10/18Ex10.sce9
-rw-r--r--1553/CH18/EX18.2/18Ex2.sce9
-rw-r--r--1553/CH18/EX18.3/18Ex3.sce11
-rw-r--r--1553/CH18/EX18.4/18Ex4.sce9
-rw-r--r--1553/CH18/EX18.5/18Ex5.sce9
-rw-r--r--1553/CH18/EX18.6/18Ex6.sce10
-rw-r--r--1553/CH18/EX18.7/18Ex7.sce9
-rw-r--r--1553/CH18/EX18.8/18ex8.sce10
-rw-r--r--1553/CH18/EX18.9/18Ex9.sce11
10 files changed, 96 insertions, 0 deletions
diff --git a/1553/CH18/EX18.1/18Ex1.sce b/1553/CH18/EX18.1/18Ex1.sce
new file mode 100644
index 000000000..991aae994
--- /dev/null
+++ b/1553/CH18/EX18.1/18Ex1.sce
@@ -0,0 +1,9 @@
+//chapter 18 Ex 1
+
+clc;
+clear;
+close;
+s=30*5/18; //converting into m/sec
+d=100;
+t=d/s;
+printf("The required time taken is %d sec",t);
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);
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);
diff --git a/1553/CH18/EX18.3/18Ex3.sce b/1553/CH18/EX18.3/18Ex3.sce
new file mode 100644
index 000000000..52f6f160a
--- /dev/null
+++ b/1553/CH18/EX18.3/18Ex3.sce
@@ -0,0 +1,11 @@
+//chapter 18 Ex 3
+
+clc;
+clear;
+close;
+
+d_b=180; t1=8; t2=12; t=t1+t2;
+length_t=(d_b/t)/(1/t1-1/t);
+s_t=length_t/t1;
+s=s_t*18/5;
+printf("The length of train is %d meter and its speed is %d km/hr",length_t,s);
diff --git a/1553/CH18/EX18.4/18Ex4.sce b/1553/CH18/EX18.4/18Ex4.sce
new file mode 100644
index 000000000..16840c2b2
--- /dev/null
+++ b/1553/CH18/EX18.4/18Ex4.sce
@@ -0,0 +1,9 @@
+//chapter 18 Ex 4
+
+clc;
+clear;
+close;
+s_t=68; s_m=8; d_t=150;
+s_relative=(s_t-s_m)*5/18;
+t=d_t/s_relative;
+printf("The train will pass the man in %d sec",t);
diff --git a/1553/CH18/EX18.5/18Ex5.sce b/1553/CH18/EX18.5/18Ex5.sce
new file mode 100644
index 000000000..fc2e7d74b
--- /dev/null
+++ b/1553/CH18/EX18.5/18Ex5.sce
@@ -0,0 +1,9 @@
+//chapter 18 Ex 5
+
+clc;
+clear;
+close;
+sTrain=59; lTrain=220; sMan=7;
+sRelative=(sTrain+sMan)*5/18; //addition of speed since opposite direction
+t=lTrain/sRelative;
+printf("The time taken by train to pass the man is %d sec",t);
diff --git a/1553/CH18/EX18.6/18Ex6.sce b/1553/CH18/EX18.6/18Ex6.sce
new file mode 100644
index 000000000..7dcf87d6e
--- /dev/null
+++ b/1553/CH18/EX18.6/18Ex6.sce
@@ -0,0 +1,10 @@
+//chapter 18 Ex 6
+
+clc;
+clear;
+close;
+
+l1=137; l2=163; s1=42; s2=48;
+sRelative=(s1+s2)*5/18; //Addition of speeds since in opposite direction
+tPass=(l1+l2)/sRelative;
+printf("The time taken by trians to pass each other is %d sec",tPass);
diff --git a/1553/CH18/EX18.7/18Ex7.sce b/1553/CH18/EX18.7/18Ex7.sce
new file mode 100644
index 000000000..64cd2ef22
--- /dev/null
+++ b/1553/CH18/EX18.7/18Ex7.sce
@@ -0,0 +1,9 @@
+//chapter 18 Ex 7
+
+clc;
+clear;
+close;
+l1=100; l2=120; s1=72; s2=54;
+sRelative=(s1-s2)*5/18; //Addition of speeds since in opposite direction
+tPass=(l1+l2)/sRelative;
+printf("The time taken by trians to pass each other is %d sec",tPass);
diff --git a/1553/CH18/EX18.8/18ex8.sce b/1553/CH18/EX18.8/18ex8.sce
new file mode 100644
index 000000000..07d2b9c45
--- /dev/null
+++ b/1553/CH18/EX18.8/18ex8.sce
@@ -0,0 +1,10 @@
+//chapter 18 Ex 8
+
+clc;
+clear;
+close;
+lTrain=100; t=6;
+sMan=5;
+sRelative=lTrain/(t*5/18);
+sTrain=sRelative-sMan;
+printf("The speed of train is %d km/hr",sTrain);
diff --git a/1553/CH18/EX18.9/18Ex9.sce b/1553/CH18/EX18.9/18Ex9.sce
new file mode 100644
index 000000000..ad01ff8a8
--- /dev/null
+++ b/1553/CH18/EX18.9/18Ex9.sce
@@ -0,0 +1,11 @@
+//chapter 18 Ex 9
+
+clc;
+clear;
+close;
+sTrain=54; tTrainP=20; tTrainM=12; sMan=6;
+sRelative=(sTrain-sMan)*5/18; //Difference since opposite in direction
+lTrain=sRelative*tTrainM;
+lTotal=tTrainP*sTrain*5/18;
+lPlatform=lTotal-lTrain;
+printf("The length of train is %d m and length of platform is %d m",lTrain,lPlatform);