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 /647/CH8/EX8.6/Example8_6.sce | |
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 '647/CH8/EX8.6/Example8_6.sce')
-rwxr-xr-x | 647/CH8/EX8.6/Example8_6.sce | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/647/CH8/EX8.6/Example8_6.sce b/647/CH8/EX8.6/Example8_6.sce new file mode 100755 index 000000000..80e6e365c --- /dev/null +++ b/647/CH8/EX8.6/Example8_6.sce @@ -0,0 +1,35 @@ +clear;
+clc;
+
+// Example: 8.6
+// Page: 303
+
+printf("Example: 8.6 - Page: 303\n\n");
+
+// Solution
+
+//*****Data******//
+Tl = 273;// [K]
+Th = 313;// [K]
+H1 = 187;// [Enthalpy of saturated vapour at 273 K, kJ/kg]
+H3 = 74;// [Enthalpy of saturated liquid at 313 K,kJ/kg]
+H4 = H3;// [kJ/kg]
+H2 = 204;// [Enthalpy of Supersaturated Vapour at 273 K, kJ/kg]
+//****************//
+
+// Solution (i)
+// COP = Ql/Wnet;
+COP = ((H1 - H4)/(H2 - H1));
+printf("Enthalpy of saturated vapour is %.2f\n",COP);
+
+// Solution (ii)
+Ref_Effect = H1 - H4;// [kJ/kg]
+printf("Refrigerating Effect is %d kJ/kg\n",Ref_Effect);
+
+// Solution (iii)
+COP = Tl/(Th - Tl);
+printf("The COP of an ideal Carnot refrigerator is %.2f\n",COP);
+
+// Solution (iv)
+W = H2 - H1;// [kJ/kg]
+printf("Work done by the compression is %.2f kJ/kg\n",W);
\ No newline at end of file |