diff options
Diffstat (limited to '1553/CH17/EX17.1/17Ex1.sce')
-rw-r--r-- | 1553/CH17/EX17.1/17Ex1.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1553/CH17/EX17.1/17Ex1.sce b/1553/CH17/EX17.1/17Ex1.sce new file mode 100644 index 000000000..c8b00ccaf --- /dev/null +++ b/1553/CH17/EX17.1/17Ex1.sce @@ -0,0 +1,11 @@ +//chapter 17: Ex1
+clc;
+clear;
+close;
+dist=400; //distance given
+aspeed=20*5/18; //converting km/hr to m/sec
+t= dist/aspeed;
+//t1=modulo(t,60);
+t2=(t/60);
+printf("The time taken is %1.2f min",t2);
+
|