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 /2159/CH4/EX4.6/46.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 '2159/CH4/EX4.6/46.sce')
-rwxr-xr-x | 2159/CH4/EX4.6/46.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2159/CH4/EX4.6/46.sce b/2159/CH4/EX4.6/46.sce new file mode 100755 index 000000000..1120ad9b6 --- /dev/null +++ b/2159/CH4/EX4.6/46.sce @@ -0,0 +1,13 @@ +// problem 4.6
+b=2
+d=3
+H1=4
+H2=7
+H=0.8+H1
+Cd=0.62
+g=9.81
+Q1=(2*Cd*b*((2*g)^0.5)*((H*H*H)^0.5-(H1*H1*H1)^0.5))/3
+Q2=Cd*b*(H2-H)*((2*g*H)^0.5)
+Q=Q1+Q2
+q=Q*1000
+disp(q,"Discharge in litres/sec")
|