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 /2063/CH1/EX1.16 | |
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 '2063/CH1/EX1.16')
-rwxr-xr-x | 2063/CH1/EX1.16/1_16.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2063/CH1/EX1.16/1_16.sce b/2063/CH1/EX1.16/1_16.sce new file mode 100755 index 000000000..8ae3103c7 --- /dev/null +++ b/2063/CH1/EX1.16/1_16.sce @@ -0,0 +1,17 @@ +clc
+clear
+//Input data
+r=16;//Compression ratio for the air standard diesel cycle
+Q1=2200;//Heat added in kJ/kg
+T4=1500;//Temperature at the end of isentropic expansion in K
+T1=310;//Lowest temperature in the cycle in K
+m=0.3;//Air flow rate in kg/sec
+Cv=0.714;//Specific heat at constant volume in kJ/kg K
+
+//Calculations
+Q2=Cv*(T4-T1);//Heat rejected in kJ/kg
+n=((Q1-Q2)/Q1)*100;//Efficiency in percent
+P=m*(Q1-Q2);//Power developed in kW
+
+//Output
+printf('(a)Thermal efficiency is %3.2f percent\n (b)Power developed is %3.0f kW',n,P)
|