summaryrefslogtreecommitdiff
path: root/3843/CH9/EX9.16
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3843/CH9/EX9.16
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 '3843/CH9/EX9.16')
-rw-r--r--3843/CH9/EX9.16/Ex9_16.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3843/CH9/EX9.16/Ex9_16.sce b/3843/CH9/EX9.16/Ex9_16.sce
new file mode 100644
index 000000000..5cf138d0e
--- /dev/null
+++ b/3843/CH9/EX9.16/Ex9_16.sce
@@ -0,0 +1,20 @@
+// Example 9_16
+clc;funcprot(0);
+// Given data
+T_3=-10+273;// K
+T_2=-40+273;// K
+r=10;// The compression ratio
+c_p=1.00// kJ/kg.K
+k=1.4;// The specific heat ratio
+
+// Calculation
+T_4=T_3*(r)^((k-1)/k);// K
+T_5=T_3;// K
+T_6=T_2;// K
+T_1=T_6*(1/r)^((k-1)/k);// K
+T_1C=T_1-273;// The minimum cycle temperature in °C
+q_in=c_p*(T_2-T_1);// kJ/kg
+w_comp=c_p*(T_4-T_3);// kJ/kg
+w_turb=c_p*(T_6-T_1);// kJ/kg
+COP=q_in/(w_comp-w_turb);// The coefficient of performance
+printf("\nThe minimum cycle temperature,T_1=%3.0f°C \nThe coefficient of performance,COP=%0.3f",T_1C,COP);