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 /1775/CH2/EX2.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 '1775/CH2/EX2.3')
-rwxr-xr-x | 1775/CH2/EX2.3/Chapter2_Example3.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/1775/CH2/EX2.3/Chapter2_Example3.sce b/1775/CH2/EX2.3/Chapter2_Example3.sce new file mode 100755 index 000000000..0e0188a15 --- /dev/null +++ b/1775/CH2/EX2.3/Chapter2_Example3.sce @@ -0,0 +1,27 @@ +//Chapter-2, Illustration 3, Page 57
+//Title: Gas Power Cycles
+//=============================================================================
+clc
+clear
+
+//INPUT DATA
+d=0.137;//Bore in m
+L=0.13;//Stroke in m
+Vc=280*(10^-6);//Clearance volume in m^3
+y=1.4;//Ratio of specific heats
+
+//CALCULATIONS
+Vs=(3.147/4)*(d^2)*L;//Stroke volume in m^3
+rv=(Vc/Vs)*100;//Compression ratio
+rvf=(Vs+Vc)/Vc;//final compression ratio
+n=(1-(1/rvf^(y-1)))*100;//Cycle efficiency
+
+//OUTPUT
+mprintf('Clearance volume is %3.1f percent of swept volume \n Otto cycle efficiency is %3.2f percent',rv,n)
+
+
+
+
+
+
+//==============================END OF PROGRAM=================================
|