summaryrefslogtreecommitdiff
path: root/3821/CH14/EX14.15
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3821/CH14/EX14.15
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3821/CH14/EX14.15')
-rw-r--r--3821/CH14/EX14.15/Example14_15.sce32
1 files changed, 32 insertions, 0 deletions
diff --git a/3821/CH14/EX14.15/Example14_15.sce b/3821/CH14/EX14.15/Example14_15.sce
new file mode 100644
index 000000000..436bbf20f
--- /dev/null
+++ b/3821/CH14/EX14.15/Example14_15.sce
@@ -0,0 +1,32 @@
+////Chapter No 14 Air Standard Cycles
+////Example No 14.15 Page No 317
+///Find maximum temperatureof the cycle
+//Input data
+clc;
+clear;
+P1=0.1; //Diesel cycle is supplied# with air in MPa
+T1=40+273; //Diesel cycle is supplied with temperature in degree celsius
+r=18; //Compression ratio
+Qs=1500; //Heat supplied
+v1=18;
+v2=1;
+Cp=1.005;
+gamma1=1.4;
+
+
+//Calculation
+T2=T1*((v1/v2)^(gamma1-1)); //For isentropic process the temperature is
+P2=P1*((v1/v2)^(gamma1)); //For isentropic process the pressure is
+T3=(Qs/Cp)+T2; //Maximum temperatureof the cycle
+rho=T3/T2; //Cut-off ratio
+//Air standard efficiency
+eta=(1-(1/r^(gamma1-1))*((1/gamma1)*(((rho^(gamma1))-1)/(rho-1))))*100;
+NWD=(Qs*eta)*10^-2; //Net work done
+
+//Output
+printf('for isentropic process the temperature= %f K \n',T2);
+printf('for isentropic process the pressure= %f MPa \n',P2);
+printf('maximum temperatureof the cycle= %f K \n ',T3);
+printf('cut-off ratio= %f MPa \n',rho);
+printf('air standard efficiency= %f percent \n',eta);
+printf('net work done= %f KJ/Kg \n',NWD);