diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1808/CH3/EX3.11/Chapter3_Exampl11.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1808/CH3/EX3.11/Chapter3_Exampl11.sce')
-rw-r--r-- | 1808/CH3/EX3.11/Chapter3_Exampl11.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/1808/CH3/EX3.11/Chapter3_Exampl11.sce b/1808/CH3/EX3.11/Chapter3_Exampl11.sce new file mode 100644 index 000000000..09e1637ef --- /dev/null +++ b/1808/CH3/EX3.11/Chapter3_Exampl11.sce @@ -0,0 +1,22 @@ +clc
+clear
+//INPUT DATA
+d=0.26;//bore of the engine in m
+L=0.38;//stroke of the engine in m
+vc=0.0025;//clearence volume in m^3
+p1=1;//pressure in bar
+t1=313;//temperature in K
+p3=25;//pressure in bar
+v12=9.07;//volume in m^3
+
+//CALCULATIONS
+vs=(3.14*d^2*L)/4;//swept volume in m^3
+Rc=((vs+vc)/vc);//compression ratio
+no=(1-((1/Rc)^(1.4-1)))*100;//Air standard efficiency of the cycle
+p2=p1*(v12^1.4);//pressure in bar
+Rp=p3/p2;//compression pressure
+pm=(p1*Rc*((Rc^(1.4-1)-1)*(Rp-1)))/((1.4-1)*(Rc-1));//mean effective pressure in bar
+
+//OUTPUT
+printf('(a)The air standard efficiency of the cycle is %3.1f percentage \n (b)The mean effective pressure is %3.4f bar',no,pm)
+
|