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 /2168/CH3/EX3.14 | |
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 '2168/CH3/EX3.14')
-rwxr-xr-x | 2168/CH3/EX3.14/Chapter3_example14.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/2168/CH3/EX3.14/Chapter3_example14.sce b/2168/CH3/EX3.14/Chapter3_example14.sce new file mode 100755 index 000000000..70e4d58c8 --- /dev/null +++ b/2168/CH3/EX3.14/Chapter3_example14.sce @@ -0,0 +1,27 @@ +clc
+clear
+//Input data
+p1=1//Pressure at intake in kg/cm^2
+T1=100+273//Intake temperature in K
+r=10//Compression ratio
+p3=70//Maximum pressure of the cycle in kg/cm^2
+q=400//Amount of heat added in kcal/kg of air
+Cp=0.24//Specific heat at constant pressure in kJ/kg.K
+Cv=0.17//Specific heat at constant volume in kJ/kg.K
+g=1.41//Ratio of specific heats
+
+//Calculations
+T2=(T1*r^(g-1))//Temperature at the end of compression in K
+p2=(p1*r^g)//Pressure at the end of compression in kg/cm^2
+T3=T2*(p3/p2)//Temperature at the end of constant volume heat addition in K
+qv=(Cv*(T3-T2))//Heat added at constant volume in kcal/kg
+qp=(q-qv)//Heat added at constant pressure in kcal/kg
+T4=(qp/Cp)+T3//Temperature at the end of constant pressure heat supply in K
+k=(T4/T3)//Cut off ratio
+T5=T4/(r/k)^(g-1)//Temperature at the end of expansion in K
+qv2=Cv*(T5-T1)//Heat added at constant volume in kcal/kg
+W=q-qv2//Workdone in kcal/kg of air
+na=(W/q)*100//Air standard efficiency in percent
+
+//Output
+printf('The temperature at the five cardinal points of the cycle are : \n point 1 is %3.0f K \n point 2 is %3.0f K \n point 3 is %3.0f K \n point 4 is %3.0f K \n point 5 is %3.0f K \n\n The air standard efficiency of the engine is %3.1f percent',T1,T2,T3,T4,T5,na)
|