summaryrefslogtreecommitdiff
path: root/1553/CH17/EX17.2/17Ex2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH17/EX17.2/17Ex2.sce')
-rw-r--r--1553/CH17/EX17.2/17Ex2.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1553/CH17/EX17.2/17Ex2.sce b/1553/CH17/EX17.2/17Ex2.sce
new file mode 100644
index 000000000..24d2758aa
--- /dev/null
+++ b/1553/CH17/EX17.2/17Ex2.sce
@@ -0,0 +1,9 @@
+//chapter 17: Ex2
+
+clc;
+clear;
+close;
+dist=750; time=2*60+30; //converting into seconds
+speed=dist/time;
+speedKmhr=speed/(5/18);
+mprintf("The speed of cyclist is %d km/hr",speedKmhr);