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 /2015/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 '2015/CH9/EX9.3')
-rwxr-xr-x | 2015/CH9/EX9.3/9_3.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/2015/CH9/EX9.3/9_3.sce b/2015/CH9/EX9.3/9_3.sce new file mode 100755 index 000000000..9cf6e6116 --- /dev/null +++ b/2015/CH9/EX9.3/9_3.sce @@ -0,0 +1,28 @@ +clc
+//initialisation of variables
+p2=3.24 //pressure in bar
+p1=1 //pressure in bar
+v1=16 //volume in m*m*m
+n=1.35
+rp=3.24 //pressure
+r=10.5
+t1=294 //temparature in k
+t2=294 //temparature in k
+cp=1.005 //kj/kg
+rx=0.287
+//CALCULATIONS
+w1=(2*n/(n-1))*p1*v1*100*0.35630 //(3.24)^0.2592-1
+w2=(n/(n-1))*p1*v1*100*0.8396 //(10.5)^0.2592-1
+pr1=w1/60
+pr2=w2/60
+tb=t1*(r)^(n-1/n)
+t3=t2*(rp)^((n-1)/n)
+m=(p1*v1*100)/(rx*t1)
+hr=m*cp*(t3-t2)
+ma=hr/(4.18*25)
+//RESULTS
+printf('minimum power required are %2fkw and %2fkw',pr1,pr2)
+printf('\nmass of air compressed is %2fkg/min',m)
+printf('\nheat rejected by air compressor is %2fkj/min',hr)
+printf('\nmass of water is %2fkg/min',ma)
+
|