summaryrefslogtreecommitdiff
path: root/1466/CH14/EX14.5/14_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1466/CH14/EX14.5/14_5.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 '1466/CH14/EX14.5/14_5.sce')
-rwxr-xr-x1466/CH14/EX14.5/14_5.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1466/CH14/EX14.5/14_5.sce b/1466/CH14/EX14.5/14_5.sce
new file mode 100755
index 000000000..716afed46
--- /dev/null
+++ b/1466/CH14/EX14.5/14_5.sce
@@ -0,0 +1,15 @@
+
+clc
+//initialisation of variables
+p1=120//lb/in^2
+T=288//k
+R=96//ft-lb
+g=1.404
+g1=32.2//ft/sec^2
+n=0.528
+//CALCULATIONS
+v1=(R*T)/(144*p1)
+k=g/(g-1)
+w=(%pi*sqrt(2*g1*k*p1*v1*144*(n^(2/g))*(1-(n)^(1/k))))/(4*144*v1)
+//RESULTS
+printf (' weight of maximum discharge in pounds per second= %.2f lb/sec',w)