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 /1226/CH20/EX20.14/EX20_14.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 '1226/CH20/EX20.14/EX20_14.sce')
-rwxr-xr-x | 1226/CH20/EX20.14/EX20_14.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1226/CH20/EX20.14/EX20_14.sce b/1226/CH20/EX20.14/EX20_14.sce new file mode 100755 index 000000000..f6fa526ca --- /dev/null +++ b/1226/CH20/EX20.14/EX20_14.sce @@ -0,0 +1,16 @@ +clc;funcprot(0);//EXAMPLE 20.14
+// Initialisation of Variables
+v=14;..........//Volume of air delivered in m^3
+p1=1;........//Suction pressure in bar
+p2=7;........//Delivery pressure in bar
+N=310;........//Compressor rpm
+n=1.35;........//Compression index
+k=0.05;........//Clearance ratio
+rld=1.5;.........//Ratio of cylinder length and diameter
+//Calculations
+etav=(1+k)-(k*((p2/p1)^(1/n)));..........//Volumetric efficiency
+Vs=v/(etav*N);.............//Swept volume in m^3
+D=((Vs)/((%pi/4)*rld))^(1/3);......//Compressor diameter in m
+L=rld*D;......................//Compressor stroke in m
+disp(D*100,"Compressor diameter in cm:")
+disp(L*100,"Compressor stroke in cm:")
|