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 /1484/CH9/EX9.3 | |
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 '1484/CH9/EX9.3')
-rwxr-xr-x | 1484/CH9/EX9.3/9_3.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1484/CH9/EX9.3/9_3.sce b/1484/CH9/EX9.3/9_3.sce new file mode 100755 index 000000000..2389f9ea9 --- /dev/null +++ b/1484/CH9/EX9.3/9_3.sce @@ -0,0 +1,17 @@ +
+clc
+//initialisation of variables
+g= 32.2 //ft/sec^2
+T= 25 //C
+dp=8 //lbs/in^2
+t= 0.005 //in
+w= 3 //in
+l= 1 //ft
+//CALCULATIONS
+ut= (0.0179*30.5/(g*453.6))/(1+0.03368*T+0.000221*T^2)
+Ql= dp*144*(t/12)^3*3600*6.24/(12*ut*4)
+//RESULTS
+printf ('Discharge= %.6f gallons per hour ',Ql)
+
+
+//ANSWER GIVEN IN THE TEXTBOOK IS WRONG
|