diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1466/CH4/EX4.5/4_5.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1466/CH4/EX4.5/4_5.sce')
-rwxr-xr-x | 1466/CH4/EX4.5/4_5.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/1466/CH4/EX4.5/4_5.sce b/1466/CH4/EX4.5/4_5.sce new file mode 100755 index 000000000..886b842d7 --- /dev/null +++ b/1466/CH4/EX4.5/4_5.sce @@ -0,0 +1,18 @@ +
+clc
+//initialisation of variables
+H1= 10//ft
+H2=2 //ft
+d= 0.62
+so= 3 //in
+w= 5 //ft
+g= 32.2 //ft/sec^2
+b= 2.5 //ft
+b1= 7.5 //ft
+//CALCULATIONS
+A1= w*b
+A2= w*b1
+a= so^2/144
+T= (2*A1*(H1^0.5-H2^0.5))/(d*a*(1+(A1/A2))*sqrt(2*g))
+//RESULTS
+printf (' Time required to lower the level of water = %.1f sec',T)
|