summaryrefslogtreecommitdiff
path: root/1793/CH7/EX7.12/7q12.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1793/CH7/EX7.12/7q12.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1793/CH7/EX7.12/7q12.sce')
-rwxr-xr-x1793/CH7/EX7.12/7q12.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1793/CH7/EX7.12/7q12.sce b/1793/CH7/EX7.12/7q12.sce
new file mode 100755
index 000000000..5c094d9c0
--- /dev/null
+++ b/1793/CH7/EX7.12/7q12.sce
@@ -0,0 +1,14 @@
+clc
+//initialisation of variables
+H= 450 //mm
+h= 150 //mm
+k1= 1e-2 //cm/sec
+k2= 3e-3 //cm/sec
+k3= 4.9e-4 //cm/sec
+h1= 300 //mm
+//calculations
+Kv= H/(h*(1/k1+1/k2+1/k3))
+i= h1/H
+q= Kv*i*100*3600
+//results
+printf ('rate of water supply = % 2f cm/hr ',q)