diff options
Diffstat (limited to '1553/CH19/EX19.2/19Ex2.sce')
-rw-r--r-- | 1553/CH19/EX19.2/19Ex2.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH19/EX19.2/19Ex2.sce b/1553/CH19/EX19.2/19Ex2.sce new file mode 100644 index 000000000..01bc89d2f --- /dev/null +++ b/1553/CH19/EX19.2/19Ex2.sce @@ -0,0 +1,10 @@ +//chapter 19 Ex 2
+
+clc;
+clear;
+close;
+dDown=15; dUp=5; tDown=3+(45/60); tUp=2+(30/60);
+rDown=dDown/tDown;
+rUp=dUp/tUp;
+sCurrent=(rDown-rUp)/2;
+printf("The speed of current is %d km/hr",sCurrent);
|