summaryrefslogtreecommitdiff
path: root/1100/CH6/EX6.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1100/CH6/EX6.3
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 '1100/CH6/EX6.3')
-rwxr-xr-x1100/CH6/EX6.3/6_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1100/CH6/EX6.3/6_3.sce b/1100/CH6/EX6.3/6_3.sce
new file mode 100755
index 000000000..645ca4777
--- /dev/null
+++ b/1100/CH6/EX6.3/6_3.sce
@@ -0,0 +1,16 @@
+clc
+//initialisation of variables
+h1= 1227.6 //Btu/lb
+h2= 1223.9 //Btu/lb
+g= 32.2 //ft/sec^2
+v1= 4.937 //cu ft/lb
+d= 2/12 //in
+A1=%pi*d^2 /4.
+//CALCULATIONS
+V1= sqrt((2*g*(h1-h2)*778)/((1.1)^2-1))
+V2= 1.1*V1
+w=A1*V1/v1
+//RESULTS
+printf ('Average velovity at section1 = %.f fps',V1)
+printf (' \n Average velovity at section2 = %.f fps',V2)
+printf ('\n rate of flow =%.2f lb/sec', w)