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.7/9_7.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 '2015/CH9/EX9.7/9_7.sce')
-rwxr-xr-x | 2015/CH9/EX9.7/9_7.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2015/CH9/EX9.7/9_7.sce b/2015/CH9/EX9.7/9_7.sce new file mode 100755 index 000000000..42862ed22 --- /dev/null +++ b/2015/CH9/EX9.7/9_7.sce @@ -0,0 +1,14 @@ +clc
+//initialisation of variables
+n=1.2
+r=0.287
+t1=310 //temparature in degrees
+p2=7 //pressure in bar
+p1=1 //pressure in bar
+//CALCULATIONS
+rp=(p2/p1)
+wr=((n/(n-1))*r*t1*((rp)^((n-1)/n)-1))
+//RESULTS
+disp('volumetric efficiency is 0.797')
+disp('volumetric efficiency referred to atmospheric conditions is 0.73')
+printf('work required is %2fknm/kg',wr)
|