From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3821/CH14/EX14.4/Example14_4.sce | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 3821/CH14/EX14.4/Example14_4.sce (limited to '3821/CH14/EX14.4/Example14_4.sce') diff --git a/3821/CH14/EX14.4/Example14_4.sce b/3821/CH14/EX14.4/Example14_4.sce new file mode 100644 index 000000000..fa5686b73 --- /dev/null +++ b/3821/CH14/EX14.4/Example14_4.sce @@ -0,0 +1,31 @@ +////Chapter No 14 Air Standard Cycles +////Example No 14.4 Page No 304 +///Find Heat supplied process +//input data +clc; +clear; +T2=377+273; //Carnot cycle temperature in bar +P2=20*10^5; //Carnot cycle pressure in bar +V2=1; +V1=5; +V3=2; +//Consider air as the working fluid therefore +R=0.287; //In KJ/Kg K +Cp=1.005; //In KJ/Kg K +Cv=0.718; //In KJ/Kg K +K=1.4; +gamma1=1.4; + +//Calculation +T1=T2*((V2/V1)^(gamma1-1)); //Minimum temp in degree celsius +Qs=R*T2*log(V3/V2); //Heat supplied process in KJ/Kg +QR=R*T1*log((V1/V2)*(V2/V3)*((T2/T1)^(1/(gamma1-1)))); //Heat Rejected Process in KJ/Kg +etath=(1-(T1/T2))*100; //Thermal Effeiciency of the carnot cycle in % + + + +//Output +printf('Minimum temp= %f degree celsius \n',T1); +printf('Heat supplied process= %f KJ/Kg \n',Qs); +printf('Heat Rejected Process= %f KJ/Kg \n',QR); +printf('Thermal Effeiciency of the carnot cycle=%f percent \n',etath); -- cgit